mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-02-15 00:55:11 -05:00
@@ -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 = {}
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user