MadMax

Image Support on AMD

Discussion created by MadMax on Jan 25, 2010
Latest reply on Feb 15, 2011 by nou

I have a computer with AMD CPU and AMD Radeon 5870. I made an example program which make queries of OpenCL resources by using AMD Stream. It shows two OpenCL devices: CPU and GPU. That's right. But, the GPU device hasn't the support of images. I mean the flag CL_DEVICE_IMAGE_SUPPORT is CL_FALSE. The GPU device by NVIDIA has this support. It is possible I had a mistake at driver installation, but I have no idea where one I was wrong. The output of the example see below.

 

Has been found 1 platforms. CL_PLATFORM_NAME : ATI Stream CL_PLATFORM_VENDOR : Advanced Micro Devices, Inc. CL_PLATFORM_VERSION : OpenCL 1.0 ATI-Stream-v2.0.0 CL_PLATFORM_PROFILE : FULL_PROFILE CL_PLATFORM_EXTENSIONS : ======== OpenCL Device Info ======== CL_DEVICE_TYPE : CL_DEVICE_TYPE_CPU CL_DEVICE_NAME : AMD Phenom(tm) II X4 965 Processor CL_DEVICE_VENDOR : AuthenticAMD (Vendor ID 4098) CL_DEVICE_VERSION : OpenCL 1.0 ATI-Stream-v2.0.0 CL_DRIVER_VERSION : 1.0 CL_DEVICE_PROFILE : FULL_PROFILE CL_DEVICE_EXTENSIONS : cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_k hr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_byte_addressable_store CL_DEVICE_MAX_COMPUTE_UNITS : 4 CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS : 3 CL_DEVICE_MAX_WORK_ITEM_SIZES : 1801415779 1633841004 1597125492 CL_DEVICE_MAX_WORK_GROUP_SIZE : 1024 CL_DEVICE_MAX_CLOCK_FREQUENCY : 800 MHz CL_DEVICE_ADDRESS_BITS : 64 CL_DEVICE_GLOBAL_MEM_SIZE : 3072 Mb CL_DEVICE_LOCAL_MEM_SIZE : 32 Kb CL_DEVICE_IMAGE_SUPPORT : No ======== OpenCL Device Info ======== CL_DEVICE_TYPE : CL_DEVICE_TYPE_GPU CL_DEVICE_NAME : Cypress CL_DEVICE_VENDOR : Advanced Micro Devices, Inc. (Vendor ID 4098) CL_DEVICE_VERSION : OpenCL 1.0 ATI-Stream-v2.0.0 CL_DRIVER_VERSION : CAL 1.4.515 CL_DEVICE_PROFILE : FULL_PROFILE CL_DEVICE_EXTENSIONS : cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_k hr_local_int32_extended_atomics CL_DEVICE_MAX_COMPUTE_UNITS : 20 CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS : 3 CL_DEVICE_MAX_WORK_ITEM_SIZES : 1801415779 1633841004 1597125492 CL_DEVICE_MAX_WORK_GROUP_SIZE : 256 CL_DEVICE_MAX_CLOCK_FREQUENCY : 850 MHz CL_DEVICE_ADDRESS_BITS : 32 CL_DEVICE_GLOBAL_MEM_SIZE : 256 Mb CL_DEVICE_LOCAL_MEM_SIZE : 32 Kb CL_DEVICE_IMAGE_SUPPORT : No

Outcomes