Hi everybody! I’m using Mac OS X Snow Leopard 10.6.3, i’ve just installed version 3.0 driver + toolkit + sdk, and found that i can’t build OpenCL samples, here are the symptoms:
Last login: Mon Apr 5 03:23:54 on ttys000
Lu4-2:~ Lu4$ cd /Developer/GPU\ Computing/OpenCL/
Lu4-2:OpenCL Lu4$ make
src/oclUtils.cpp: In function â€˜void oclPrintDevInfo(int, _cl_device_id*)â€™:
src/oclUtils.cpp:282: error: â€˜CL_DEVICE_COMPUTE_CAPABILITY_MAJOR_NVâ€™ was not declared in this scope
src/oclUtils.cpp:283: error: â€˜CL_DEVICE_COMPUTE_CAPABILITY_MINOR_NVâ€™ was not declared in this scope
src/oclUtils.cpp:290: error: â€˜CL_DEVICE_REGISTERS_PER_BLOCK_NVâ€™ was not declared in this scope
src/oclUtils.cpp:294: error: â€˜CL_DEVICE_WARP_SIZE_NVâ€™ was not declared in this scope
src/oclUtils.cpp:298: error: â€˜CL_DEVICE_GPU_OVERLAP_NVâ€™ was not declared in this scope
src/oclUtils.cpp:302: error: â€˜CL_DEVICE_KERNEL_EXEC_TIMEOUT_NVâ€™ was not declared in this scope
src/oclUtils.cpp:306: error: â€˜CL_DEVICE_INTEGRATED_MEMORY_NVâ€™ was not declared in this scope
make: *** [obj/release/oclUtils.cpp.o] Error 1
make: *** [common/liboclUtil.so] Error 2
This is not the best solution but it is one.
Where to find the values for different variables?
I use the integrated 9400 and the 9600. How to avoid having to change the value each time I change cards?
Deeply real solution made by Nvidia as well as integration with Xcode.