2010-09-03 14:40:18 PDT
That seems to have fixed it. In my particular case, only the line
preferredVectorWidthHalf = GetInfo<uint>(ComputeDeviceInfo.PreferredVectorWidthHalf);
was causing a problem. The line dealing with doubles works fine.
Here is a copy of the device info:
[HOST INFO]
Operating system: Microsoft Windows NT 6.1.7600.0
[OPENCL PLATFORMS]
Name: NVIDIA CUDA
Vendor: NVIDIA Corporation
Version: OpenCL 1.0 CUDA 3.1.1
Profile: FULL_PROFILE
Extensions:
+ cl_khr_byte_addressable_store
+ cl_khr_icd
+ cl_khr_gl_sharing
+ cl_nv_d3d9_sharing
+ cl_nv_d3d10_sharing
+ cl_khr_d3d10_sharing
+ cl_nv_d3d11_sharing
+ cl_nv_compiler_options
+ cl_nv_device_attribute_query
+ cl_nv_pragma_unroll
Devices:
Name: GeForce 8600 GT
Vendor: NVIDIA Corporation
Driver version: 258.96
Compute units: 4
Global memory: 242810880
Local memory: 16384
Image support: True
Extensions:
+ cl_khr_byte_addressable_store
+ cl_khr_icd
+ cl_khr_gl_sharing
+ cl_nv_d3d9_sharing
+ cl_nv_d3d10_sharing
+ cl_khr_d3d10_sharing
+ cl_nv_d3d11_sharing
+ cl_nv_compiler_options
+ cl_nv_device_attribute_query
+ cl_nv_pragma_unroll
+ cl_khr_global_int32_base_atomics
+ cl_khr_global_int32_extended_atomics
Name: ATI Stream
Vendor: Advanced Micro Devices, Inc.
Version: OpenCL 1.0 ATI-Stream-v2.1 (145)
Profile: FULL_PROFILE
Extensions:
+ cl_khr_icd
Devices:
Name: AMD Phenom(tm) II X4 955 Processor
Vendor: AuthenticAMD
Driver version: 1.1
Compute units: 4
Global memory: 3221225472
Local memory: 32768
Image support: False
Extensions:
+ cl_khr_icd
+ cl_amd_fp64
+ cl_khr_global_int32_base_atomics
+ cl_khr_global_int32_extended_atomics
+ cl_khr_local_int32_base_atomics
+ cl_khr_local_int32_extended_atomics
+ cl_khr_int64_base_atomics
+ cl_khr_int64_extended_atomics
+ cl_khr_byte_addressable_store
+ cl_khr_gl_sharing
+ cl_ext_device_fission
+ cl_amd_device_attribute_query
+ cl_amd_printf
I should also note that I am also getting an error when closing the Clootils program. I am getting an IOException on line 92 of ComputeEvent.cs (the writeLine statement). The code is marked to only run in debug mode, so this might not be a problem. Oddly enough, I only get his error if the OpenCL tests have been run. Just opening and closing the window works fine.