We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This would be exactly what I was looking for, except that it doesn't work for me on OS X 10.9.5 .
After having gotten it to build, ocl-icd rejects the Apple ICD:
ocl-icd
> env OCL_ICD_DEBUG=7 clinfo ocl-icd(ocl_icd_loader.c:856): __initClIcd: Reading icd list from '/opt/local/etc/OpenCL/vendors' ocl-icd(ocl_icd_loader.c:201): _find_num_icds: return: 2/0x2 ocl-icd(ocl_icd_loader.c:242): _open_driver: Considering file '/opt/local/etc/OpenCL/vendors/AppleCL.icd' ocl-icd(ocl_icd_loader.c:216): _load_icd: Loading ICD '/opt/local/lib/AppleCL/libocl_icd_wrapper.dylib' ocl-icd(ocl_icd_loader.c:220): _load_icd: ICD[0] loaded ocl-icd(ocl_icd_loader.c:274): _open_driver: return: 1/0x1 ocl-icd(ocl_icd_loader.c:242): _open_driver: Considering file '/opt/local/etc/OpenCL/vendors/pocl.icd' ocl-icd(ocl_icd_loader.c:216): _load_icd: Loading ICD '/opt/local/lib/pocl/libpocl.2.12.0.dylib' ocl-icd(ocl_icd_loader.c:220): _load_icd: ICD[1] loaded ocl-icd(ocl_icd_loader.c:274): _open_driver: return: 2/0x2 ocl-icd(ocl_icd_loader.c:287): _open_drivers: return: 2/0x2 ocl-icd(ocl_icd_loader.c:444): _find_and_check_platforms: Checking ICD 0/2 ocl-icd(ocl_icd_loader.c:292): _get_function_addr: Looking for function clGetExtensionFunctionAddress ocl-icd(ocl_icd_loader.c:310): _get_function_addr: return: 4466486368/0x10a392c60 ocl-icd(ocl_icd_loader.c:292): _get_function_addr: Looking for function clIcdGetPlatformIDsKHR ocl-icd(ocl_icd_loader.c:310): _get_function_addr: return: 4466486144/0x10a392b80 ocl-icd(ocl_icd_loader.c:292): _get_function_addr: Looking for function clGetPlatformInfo ocl-icd(ocl_icd_loader.c:301): _get_function_addr: Missing function 'clGetPlatformInfo' in ICD, should be skipped ocl-icd(ocl_icd_loader.c:310): _get_function_addr: return: 140735489009106/0x7fff88d465d2 ocl-icd(ocl_icd_loader.c:499): _find_and_check_platforms: Try to load 1 platforms ocl-icd(ocl_icd_loader.c:315): _allocate_platforms: Requesting allocation for 1 platforms ocl-icd(ocl_icd_loader.c:325): _allocate_platforms: return: 1/0x1 ocl-icd(ocl_icd_loader.c:506): _find_and_check_platforms: Checking platform 0 ocl-icd(ocl_icd_loader.c:151): _clerror2string: return: CL_INVALID_PLATFORM ocl-icd(ocl_icd_loader.c:335): _malloc_clGetPlatformInfo: Error CL_INVALID_PLATFORM while requesting extensions in platform 0x7fdd82521840 ocl-icd(ocl_icd_loader.c:540): _find_and_check_platforms: Skipping platform 0
The invalid platform return doesn't come from the wrapper, as far as I can tell.
Anyone still here who's interested to think along?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This would be exactly what I was looking for, except that it doesn't work for me on OS X 10.9.5 .
After having gotten it to build,
ocl-icd
rejects the Apple ICD:The invalid platform return doesn't come from the wrapper, as far as I can tell.
Anyone still here who's interested to think along?
The text was updated successfully, but these errors were encountered: