8 Replies Latest reply on May 4, 2010 4:08 PM by Rik55

    No image support and OpenGL interop in SDK v2.1 ?

    HarryH

      I just installed SDK v2.1 and it seems OpenGL interoperability and image support

      are not there for the GPU, only for the CPU. Output of CLInfo atached.

      Number of platforms: 1 Platform Profile: FULL_PROFILE Platform Version: OpenCL 1.0 ATI-Stream-v2.1 (145) Platform Name: ATI Stream Platform Vendor: Advanced Micro Devices, Inc. Platform Extensions: cl_khr_icd Platform Name: ATI Stream Number of devices: 2 Device Type: CL_DEVICE_TYPE_CPU Device ID: 4098 Max compute units: 4 Max work items dimensions: 3 Max work items[0]: 1024 Max work items[1]: 1024 Max work items[2]: 1024 Max work group size: 1024 Preferred vector width char: 16 Preferred vector width short: 8 Preferred vector width int: 4 Preferred vector width long: 2 Preferred vector width float: 4 Preferred vector width double: 0 Max clock frequency: 800Mhz Address bits: 64 Max memory allocation: 1073741824 Image support: No Max size of kernel argument: 4096 Alignment (bits) of base address: 1024 Minimum alignment (bytes) for any datatype: 128 Single precision floating point capability Denorms: Yes Quiet NaNs: Yes Round to nearest even: Yes Round to zero: No Round to +ve and infinity: No IEEE754-2008 fused multiply-add: No Cache type: Read/Write Cache line size: 64 Cache size: 65536 Global memory size: 3221225472 Constant buffer size: 65536 Max number of constant args: 8 Local memory type: Global Local memory size: 32768 Profiling timer resolution: 1 Device endianess: Little Available: Yes Compiler available: Yes Execution capabilities: Execute OpenCL kernels: Yes Execute native function: No Queue properties: Out-of-Order: No Profiling : Yes Platform ID: 0x7f57aa34d228 Name: AMD Phenom(tm) II X4 905e Processor Vendor: AuthenticAMD Driver version: 1.1 Profile: FULL_PROFILE Version: OpenCL 1.0 ATI-Stream-v2.1 (145) 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 Device Type: CL_DEVICE_TYPE_GPU Device ID: 4098 Max compute units: 20 Max work items dimensions: 3 Max work items[0]: 256 Max work items[1]: 256 Max work items[2]: 256 Max work group size: 256 Preferred vector width char: 16 Preferred vector width short: 8 Preferred vector width int: 4 Preferred vector width long: 2 Preferred vector width float: 4 Preferred vector width double: 0 Max clock frequency: 900Mhz Address bits: 32 Max memory allocation: 268435456 Image support: No Max size of kernel argument: 1024 Alignment (bits) of base address: 32768 Minimum alignment (bytes) for any datatype: 128 Single precision floating point capability Denorms: No Quiet NaNs: Yes Round to nearest even: Yes Round to zero: No Round to +ve and infinity: No IEEE754-2008 fused multiply-add: No Cache type: None Cache line size: 0 Cache size: 0 Global memory size: 268435456 Constant buffer size: 65536 Max number of constant args: 8 Local memory type: Scratchpad Local memory size: 32768 Profiling timer resolution: 1 Device endianess: Little Available: Yes Compiler available: Yes Execution capabilities: Execute OpenCL kernels: Yes Execute native function: No Queue properties: Out-of-Order: No Profiling : Yes Platform ID: 0x7f57aa34d228 Name: Cypress Vendor: Advanced Micro Devices, Inc. Driver version: CAL 1.4.556 Profile: FULL_PROFILE Version: OpenCL 1.0 ATI-Stream-v2.1 (145) 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_amd_device_attribute_query Passed!

        • No image support and OpenGL interop in SDK v2.1 ?
          HarryH

          My mistake, installing the 10.4 driver solved it.

          • No image support and OpenGL interop in SDK v2.1 ?
            MicahVillmow
            grabner,
            The FirePro V8700 is based on the RV770 chip and thus does not support any OpenCL extensions. If you want to use software the uses OpenCL extensions, you need a GPU that is based on the R8XX series of chips.
              • No image support and OpenGL interop in SDK v2.1 ?
                Rik55

                On my RV770/4850, I get the following extensions.

                OpenCL CPU Ext - 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_addressable_store
                                             cl_khr_gl_sharing
                                             cl_ext_device_fission
                                             cl_amd_device_attribute_query
                                             cl_amd_printf
                OpenCL GPU Ext - cl_khr-icd
                                             cl_amd-fp64
                                             cl_khr_gl_sharing
                                             cl_amd_device_attribute_query

                I read the main download page and the FirePro V8700 is suppoprted although in beta form.

                  • No image support and OpenGL interop in SDK v2.1 ?
                    LeeHowes

                    Further to that, the download page may say that the previous generation is a system requirement and that it is supported, but that does not mean it supports all the features.

                    Clearly it cannot support all the features that Cypress supports or there would be no innovation in the Evergreen architecture.

                    The other option would be to add the features to the OpenCL SDK that Cypress supports and lower spec/older cards do not and then say non-Cypress chips are not supported by the SDK.

                    That would be nonsense. You have to query the device to find out what features a given device is capable of, and that includes the set of extensions the device supports.

                    ETA: Micah beat me to the basic response and I also added newlines. This page is getting a bit hard to read...

                • No image support and OpenGL interop in SDK v2.1 ?
                  MicahVillmow
                  Rik55,
                  I am sorry for not being clear enough. I was referring to official khronos language
                  extensions that are listed in the OpenCL 1.0 spec, section 9, that are device dependent.
                  These include atomics, byte_addressable_store, images, half/double floating point and
                  rounding mode selection. The extensions for the GPU that you are listing are device
                  independent or are amd extensions to OpenCL and not official OpenCL extensions.


                  [Edit] added newlines.