<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libsmctrl.git/pysmctrl, branch master</title>
<subtitle>Library to enable intra-context SM/TPC partitioning on NVIDIA GPUs</subtitle>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/libsmctrl.git/'/>
<entry>
<title>Correctly pass arguments to Python's ctypes find_library() function</title>
<updated>2024-12-23T07:15:31+00:00</updated>
<author>
<name>Joshua Bakita</name>
<email>jbakita@cs.unc.edu</email>
</author>
<published>2024-12-23T07:15:31+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/libsmctrl.git/commit/?id=5173f55d57a944c4f6a3e018892fc1da55e15571'/>
<id>5173f55d57a944c4f6a3e018892fc1da55e15571</id>
<content type='text'>
The prefix "lib" should not be included, per the documentation.

This was not caught in local tests as the fallback was always used
locally.

Patch courtesy of Guanbin Xu &lt;xugb@mail.ustc.edu.cn&gt;.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The prefix "lib" should not be included, per the documentation.

This was not caught in local tests as the fallback was always used
locally.

Patch courtesy of Guanbin Xu &lt;xugb@mail.ustc.edu.cn&gt;.
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce pysmctrl: A python interface to libsmctrl</title>
<updated>2023-03-16T06:18:35+00:00</updated>
<author>
<name>Joshua Bakita</name>
<email>bakitajoshua@gmail.com</email>
</author>
<published>2023-03-16T06:18:35+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/libsmctrl.git/commit/?id=9ed721de0e9ce564b7c852e38359398b019a5c2f'/>
<id>9ed721de0e9ce564b7c852e38359398b019a5c2f</id>
<content type='text'>
Initially supports the GPU information functions via:
- pysmctrl.get_gpc_info(dev_id)
- pysmctrl.get_tpc_info(dev_id)
- pysmctrl.get_tpc_info_cuda(cuda_dev_id)
All functions are extensively documented. See pysmctrl/__init__.py
for details.

Device partitioning functions have yet to be mapped into Python, as
these will require more testing.

As part of this:
- libsmctrl_get_*_info() functions have been modified to consistently
  return positive error codes.
- libsmctrl_get_tpc_info() now uses nvdebug-style device numbering and
  uses libsmctrl_get_gpc_info() under the covers. This should be more
  reliable.
- libsmctrl_get_tpc_info_cuda() has been introduced as an improved
  version of the old libsmctrl_get_tpc_info() function. This continues
  to use CUDA-style device numbering, but is now resiliant to CUDA
  failures.
- Various minor style improvements in libsmctrl.c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Initially supports the GPU information functions via:
- pysmctrl.get_gpc_info(dev_id)
- pysmctrl.get_tpc_info(dev_id)
- pysmctrl.get_tpc_info_cuda(cuda_dev_id)
All functions are extensively documented. See pysmctrl/__init__.py
for details.

Device partitioning functions have yet to be mapped into Python, as
these will require more testing.

As part of this:
- libsmctrl_get_*_info() functions have been modified to consistently
  return positive error codes.
- libsmctrl_get_tpc_info() now uses nvdebug-style device numbering and
  uses libsmctrl_get_gpc_info() under the covers. This should be more
  reliable.
- libsmctrl_get_tpc_info_cuda() has been introduced as an improved
  version of the old libsmctrl_get_tpc_info() function. This continues
  to use CUDA-style device numbering, but is now resiliant to CUDA
  failures.
- Various minor style improvements in libsmctrl.c
</pre>
</div>
</content>
</entry>
</feed>
