rebuild ocelot (#3259)

* rebuild

* strip trailing whitespace
This commit is contained in:
George Hotz
2024-01-26 18:46:36 -08:00
committed by GitHub
parent 473935125a
commit 0aad8d238b
4 changed files with 16 additions and 14 deletions

View File

@@ -131,7 +131,7 @@ class FunctionFactoryStub:
# libraries['FIXME_STUB'] explanation
# As you did not list (-l libraryname.so) a library that exports this function
# This is a non-working stub instead.
# This is a non-working stub instead.
# You can either re-run clan2py with -l /path/to/library.so
# Or manually fix this by comment the ctypes.CDLL loading
_libraries = {}

View File

@@ -614,13 +614,13 @@ CL_VERSION_PATCH_BITS = (12) # macro
# CL_VERSION_MINOR_MASK = ((1<<(10)) # macro
# CL_VERSION_PATCH_MASK = ((1<<(12)) # macro
# def CL_VERSION_MAJOR(version): # macro
# return ((version)>>((10)+(12)))
# return ((version)>>((10)+(12)))
# def CL_VERSION_MINOR(version): # macro
# return (((version)>>(12))&((1<<(10)))
# return (((version)>>(12))&((1<<(10)))
# def CL_VERSION_PATCH(version): # macro
# return ((version)&((1<<(12)))
# return ((version)&((1<<(12)))
# def CL_MAKE_VERSION(major, minor, patch): # macro
# return ((((major)&((1<<(10)))<<((10)+(12)))|(((minor)&((1<<(10)))<<(12))|((patch)&((1<<(12))))
# return ((((major)&((1<<(10)))<<((10)+(12)))|(((minor)&((1<<(10)))<<(12))|((patch)&((1<<(12))))
class struct__cl_platform_id(Structure):
pass