I am currently working to get a public git repository set up so that I can
share the work. In the meantime, my first pass at python bindings for hwloc
are available from
http://people.redhat.com/streeter/
There are rpm files and a source tarball there. The tarball has
implementations of some
Are the abstractions anything like Bernd's perl bindings, perchance?
http://search.cpan.org/~bka/
On Jan 17, 2011, at 3:02 PM, Guy Streeter wrote:
> I am currently working to get a public git repository set up so that I can
> share the work. In the meantime, my first pass at python binding
On 01/18/2011 06:47 AM, Jeff Squyres wrote:
Are the abstractions anything like Bernd's perl bindings, perchance?
http://search.cpan.org/~bka/
On Jan 17, 2011, at 3:02 PM, Guy Streeter wrote:
I am currently working to get a public git repository set up so that I can
share the work. In t
Hello,
Guy Streeter, le Mon 17 Jan 2011 21:03:04 +0100, a écrit :
> I am currently working to get a public git repository set up so that I can
> share the work. In the meantime, my first pass at python bindings for hwloc
> are available from
>
> http://people.redhat.com/streeter/
Here are some
On 01/20/2011 11:32 AM, Samuel Thibault wrote:
Hello,
Guy Streeter, le Mon 17 Jan 2011 21:03:04 +0100, a écrit :
I am currently working to get a public git repository set up so that I can
share the work. In the meantime, my first pass at python bindings for hwloc
are available from
http://peop
On Jan 20, 2011, at 12:32 PM, Samuel Thibault wrote:
> Apart from these nasty details, I like the interface style, thanks for
> the nice contribution ! :)
+1
I was more curious on whether the hwloc bindings interfaces for perl and python
would be similar. It looks like they will be a bit diffe
Guy Streeter, le Thu 20 Jan 2011 19:02:52 +0100, a écrit :
> On 01/20/2011 11:32 AM, Samuel Thibault wrote:
> >>topo = hwloc.hwloc_topology()
> >>assert obj.type == hwloc.HWLOC_OBJ_PU
> >>orig = hwloc.hwloc_bitmap.alloc()
> >
> >Mmm, why repeating "hwloc"?
>
> I think removing the "hwloc_" prefix
On Thu, 2011-01-20 at 13:08 -0500, Jeff Squyres wrote:
> On Jan 20, 2011, at 12:32 PM, Samuel Thibault wrote:
>
> > Apart from these nasty details, I like the interface style, thanks for
> > the nice contribution ! :)
>
> +1
>
> I was more curious on whether the hwloc bindings interfaces for per
Bernd Kallies, le Thu 20 Jan 2011 20:13:03 +0100, a écrit :
> The only thing I was wondering about are these OO method names, which I
> had to invent them myself. If there is some need to synchronize these
> with the python binding, we may agree about them. Backwards
> compatibility of the Perl bin
On Thu, 2011-01-20 at 20:22 +0100, Samuel Thibault wrote:
> Bernd Kallies, le Thu 20 Jan 2011 20:13:03 +0100, a écrit :
> > The only thing I was wondering about are these OO method names, which I
> > had to invent them myself. If there is some need to synchronize these
> > with the python binding,
On 01/20/2011 01:22 PM, Samuel Thibault wrote:
Bernd Kallies, le Thu 20 Jan 2011 20:13:03 +0100, a écrit :
The only thing I was wondering about are these OO method names, which I
had to invent them myself. If there is some need to synchronize these
with the python binding, we may agree about the
Guy Streeter, le Thu 20 Jan 2011 20:57:24 +0100, a écrit :
> I added some iterators:
> bitmap.all_set_bits
> obj.infos
> topology.objs_by_depth
> topology.objs_by_type
>
> I also made obj.children an iterator.
> I think I could do the same with siblings and cousins if that makes sense.
I think it
Has anyone worked on or expressed interest in python bindings for the hwloc
library? I do most of my work in python and would find it useful.
I threw together a python implementation of the hwloc-hello program in
python, using ctypes to access the library. It was fairly straight-forward.
I woul
I'm still retired, but I found time to update python-hwloc for hwloc
version 1.11.5, the version currently shipped in Fedora 26. I made some
bug-fixes along the way, and built new versions for Fedora 25 and Cento 7
as well.
There are 2 important hosting changes for python-hwloc: the fdeorahosted
g
Le 19/11/2010 22:39, Guy Streeter a écrit :
> Has anyone worked on or expressed interest in python bindings for the
> hwloc library? I do most of my work in python and would find it useful.
> I threw together a python implementation of the hwloc-hello program
> in python, using ctypes to access th
I personally would find such things (and perl bindings) useful. I've written a
bunch of perl scripts internally at Cisco that use the hwloc output, and I end
up slurping the XML output and working with it that way. But having direct
bindings would be better.
On Nov 20, 2010, at 9:24 AM, Bri
I have updated the python bindings to support hwloc-1.2. They are
backward-compatible with 1.1.
There is a Fedora rpm and a tarball on http://people.redhat.com/streeter/
and the git archive is
git://git.fedorahosted.org/python-hwloc.git
ssh://git.fedorahosted.org/git/python-hwloc.git
http://git.f
I have finally made the 1.6 additions to python-hwloc. userdata and xml
import/export od userdata works.
I spent some time trying to find a way to let userdata be a reference to a
python object, but in the end decided to leave associating the userdata value
with data in python space up to the user
I'm getting the hwloc-1.7 version of the python bindings ready to go. I've
tried to add GL, Intel MIC, NVML, and CUDA support.
I can't implement much of CUDA or NVML for lack of python bindings for those
libraries, but I did what I could.
I can't test any of these for lack of hardware. If you have
Hello
Thanks a lot!
I updated the links on the website.
Note that your code should work up to 1.11.8 except for one new topology
flag added in 1.11.6.
I am not very good at Python but I could help finishing CUDA support if
you tell me what's missing and where to look.
Brice
Le 02/09/2017 00:32, G
Guy --
This is tremendous. Thank you!
> On Sep 1, 2017, at 6:32 PM, Guy Streeter wrote:
>
> I'm still retired, but I found time to update python-hwloc for hwloc version
> 1.11.5, the version currently shipped in Fedora 26. I made some bug-fixes
> along the way, and built new versions for Fe
I looked at implementing the bindings for the CUDA driver library
interfaces, and I can't see a way to add them without implementing (at
least partially) Python bindings for the CUDA driver library. That's too
much work for a retired person to take on. :)
The CUDA runtime library seems a bit easie
(forgot to CC the list)
Le 04/06/2013 10:48, Brice Goglin a écrit :
> Hello,
>
> Here are some slightly fixed tests. cuda/cudart/nvml look good.
> intel-mic looks good but I couldn't test on a real machine (I used XML
> instead), so the cpuset retrieving code wasn't tested.
>
> gl doesn't seem to
On 06/04/2013 03:52 AM, Brice Goglin wrote:
> (forgot to CC the list)
>
>
> Le 04/06/2013 10:48, Brice Goglin a écrit :
>> Hello,
>>
>> Here are some slightly fixed tests. cuda/cudart/nvml look good.
>> intel-mic looks good but I couldn't test on a real machine (I used XML
>> instead), so the cpu
On 06/04/2013 03:52 AM, Brice Goglin wrote:
> (forgot to CC the list)
>
>
> Le 04/06/2013 10:48, Brice Goglin a écrit :
>> Hello,
>>
>> Here are some slightly fixed tests. cuda/cudart/nvml look good.
>> intel-mic looks good but I couldn't test on a real machine (I used XML
>> instead), so the cpu
Le 05/06/2013 00:03, Guy Streeter a écrit :
> On 06/04/2013 03:52 AM, Brice Goglin wrote:
>> (forgot to CC the list)
>>
>>
>> Le 04/06/2013 10:48, Brice Goglin a écrit :
>>> Hello,
>>>
>>> Here are some slightly fixed tests. cuda/cudart/nvml look good.
>>> intel-mic looks good but I couldn't test o
On 06/05/2013 12:29 AM, Brice Goglin wrote:
> Le 05/06/2013 00:03, Guy Streeter a écrit :
...
>> I think my regular expression code is broken in the gl stuff. Do you have to
>> have the hardware and drivers for GL, or could I use an XML file for testing?
>>
I believe I have the regex for GL fixed
Le 05/06/2013 21:14, Guy Streeter a écrit :
> On 06/05/2013 12:29 AM, Brice Goglin wrote:
>> Le 05/06/2013 00:03, Guy Streeter a écrit :
> ...
>>> I think my regular expression code is broken in the gl stuff. Do you have to
>>> have the hardware and drivers for GL, or could I use an XML file for
>
I have updated python-hwloc to support version 1.5 of hwloc. It is available at
git://git.fedorahosted.org/python-hwloc.git
as well as rpm packages and source tarball on
http://people.redhat.com/streeter/
In the course of this, I added the linux_libnuma calls. python-hwloc now
depends on python-
29 matches
Mail list logo