cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

et1
Adept II

the installed OpenCL runtime is older than 6 months

I installed the new CodeXL, and in the CodeXL Options Analyze tab I see the message:

"Note: the installed OpenCL runtime is older than 6 months. Recent hardware platforms may not appear in the list of target devices."

Indeed, I can only get stats for older chips.

I've just installed Catalyst 14.9, and it didn't help.

I'm using a Radeon R9 280 on Windows 7 x64.

0 Likes
1 Solution
dorono
Staff

Hi,

Thanks for this report.

CodeXL's detection of the installed OpenCL runtime version was mistakenly dependent on the local OpenGL library. This will be fixed in the upcoming CodeXL release.

View solution in original post

0 Likes
7 Replies
et1
Adept II

By the way, I recently replaced the R9 280 with a 5850 just to test something, and I think that my OpenCL performance got slower afterwards (when I returned to the R9 280). It's hard to tell if that's really the case, there are many other variables involved, but it's the impression I got. Still, if that caused a change to the runtime, wouldn't installing new driver sort it out?

0 Likes
delifaz
Staff

Can you please provide the clinfo output? (run "clinfo" in cmd)

0 Likes

Here's the full clinfo text (is there a way to post it without formatting?). By the way, testing performance again with old code, it looks like there's no problem except for a very minor slowdown between 14.7 and 14.9

Number of platforms:  

  2
  Platform Profile:     FULL_PROFILE
  Platform Version:     OpenCL 1.2
  Platform Name:     Intel(R) OpenCL
  Platform Vendor:     Intel(R) Corporation
  Platform Extensions:     cl_khr_icd 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_byte_addressable_store cl_khr_spir cl_intel_exec_by_local_thread cl_khr_depth_images cl_khr_3d_image_writes cl_khr_fp64 cl_khr_gl_sharing cl_intel_dx9_media_sharing cl_khr_dx9_media_sharing cl_khr_d3d11_sharing
  Platform Profile:     FULL_PROFILE
  Platform Version:     OpenCL 1.2 AMD-APP (1573.4)
  Platform Name:     AMD Accelerated Parallel Processing
  Platform Vendor:     Advanced Micro Devices, Inc.
  Platform Extensions:     cl_khr_icd cl_khr_d3d10_sharing cl_khr_d3d11_sharing cl_khr_dx9_media_sharing cl_amd_event_callback cl_amd_offline_devices

  Platform Name:     Intel(R) OpenCL
Number of devices:     1
  Device Type:     CL_DEVICE_TYPE_CPU
  Vendor ID:     8086h
  Max compute units:     4
  Max work items dimensions:     3
Max work items[0]:     8192
Max work items[1]:     8192
Max work items[2]:     8192
  Max work group size:     8192
  Preferred vector width char:     1
  Preferred vector width short:     1
  Preferred vector width int:     1
  Preferred vector width long:     1
  Preferred vector width float:     1
  Preferred vector width double:     1
  Native vector width char:     16
  Native vector width short:     8
  Native vector width int:     4
  Native vector width long:     2
  Native vector width float:     8
  Native vector width double:     4
  Max clock frequency:     3100Mhz
  Address bits:     64
  Max memory allocation:     2138825728
  Image support:     Yes
  Max number of images read arguments:     480
  Max number of images write arguments:     480
  Max image 2D width:     16384
  Max image 2D height:     16384
  Max image 3D width:     2048
  Max image 3D height:     2048
  Max image 3D depth:     2048
  Max samplers within kernel:     480
  Max size of kernel argument:     3840
  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:     262144
  Global memory size:     8555302912
  Constant buffer size:     131072
  Max number of constant args:     480
  Local memory type:     Global
  Local memory size:     32768

  Kernel Preferred work group size multiple:     128

  Error correction support:     0
  Unified memory for Host and Device:     1
  Profiling timer resolution:     331
  Device endianess:     Little
  Available:     Yes
  Compiler available:     Yes
  Execution capabilities:    
Execute OpenCL kernels:     Yes
Execute native function:     Yes
  Queue on Host properties:    
Out-of-Order:     Yes
Profiling :     Yes
  Platform ID:     00000000002D54A0
  Name:         Intel(R) Core(TM) i5-3450 CPU @ 3.10GHz
  Vendor:     Intel(R) Corporation
  Device OpenCL C version:     OpenCL C 1.2
  Driver version:     4.4.0.117
  Profile:     FULL_PROFILE
  Version:     OpenCL 1.2 (Build 117)
  Extensions:     cl_khr_icd 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_byte_addressable_store cl_khr_spir cl_intel_exec_by_local_thread cl_khr_depth_images cl_khr_3d_image_writes cl_khr_fp64 cl_khr_gl_sharing cl_intel_dx9_media_sharing cl_khr_dx9_media_sharing cl_khr_d3d11_sharing

  Platform Name:     AMD Accelerated Parallel Processing
Number of devices:     2
  Device Type:     CL_DEVICE_TYPE_GPU
  Vendor ID:     1002h
  Board name:     ASUS R9 280 Series
  Device Topology:     PCI[ B#1, D#0, F#0 ]
  Max compute units:     28
  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:     4
  Preferred vector width short:     2
  Preferred vector width int:     1
  Preferred vector width long:     1
  Preferred vector width float:     1
  Preferred vector width double:     1
  Native vector width char:     4
  Native vector width short:     2
  Native vector width int:     1
  Native vector width long:     1
  Native vector width float:     1
  Native vector width double:     1
  Max clock frequency:     980Mhz
  Address bits:     32
  Max memory allocation:     2213806080
  Image support:     Yes
  Max number of images read arguments:     128
  Max number of images write arguments:     8
  Max image 2D width:     16384
  Max image 2D height:     16384
  Max image 3D width:     2048
  Max image 3D height:     2048
  Max image 3D depth:     2048
  Max samplers within kernel:     16
  Max size of kernel argument:     1024
  Alignment (bits) of base address:     2048

  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:     Yes
Round to +ve and infinity:     Yes
IEEE754-2008 fused multiply-add:     Yes
  Cache type:     Read/Write
  Cache line size:     64
  Cache size:     16384
  Global memory size:     3221225472
  Constant buffer size:     65536
  Max number of constant args:     8
  Local memory type:     Scratchpad
  Local memory size:     32768

  Kernel Preferred work group size multiple:     64

  Error correction support:     0
  Unified memory for Host and Device:     0
  Profiling timer resolution:     1
  Device endianess:     Little
  Available:     Yes
  Compiler available:     Yes
  Execution capabilities:    
Execute OpenCL kernels:     Yes
Execute native function:     No
  Queue on Host properties:    
Out-of-Order:     No
Profiling :     Yes
  Platform ID:     000007FEE368BFB0
  Name:     Tahiti
  Vendor:     Advanced Micro Devices, Inc.
  Device OpenCL C version:     OpenCL C 1.2
  Driver version:     1573.4 (VM)
  Profile:     FULL_PROFILE
  Version:     OpenCL 1.2 AMD-APP (1573.4)
  Extensions:     cl_khr_fp64 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_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_atomic_counters_32 cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_d3d10_sharing cl_khr_d3d11_sharing cl_khr_dx9_media_sharing cl_khr_image2d_from_buffer cl_khr_spir cl_khr_gl_event

  Device Type:     CL_DEVICE_TYPE_CPU
  Vendor ID:     1002h
  Board name:    
  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:     8
  Preferred vector width double:     4
  Native vector width char:     16
  Native vector width short:     8
  Native vector width int:     4
  Native vector width long:     2
  Native vector width float:     8
  Native vector width double:     4
  Max clock frequency:     3093Mhz
  Address bits:     64
  Max memory allocation:     2147483648
  Image support:     Yes
  Max number of images read arguments:     128
  Max number of images write arguments:     8
  Max image 2D width:     8192
  Max image 2D height:     8192
  Max image 3D width:     2048
  Max image 3D height:     2048
  Max image 3D depth:     2048
  Max samplers within kernel:     16
  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:     Yes
Round to +ve and infinity:     Yes
IEEE754-2008 fused multiply-add:     Yes
  Cache type:     Read/Write
  Cache line size:     64
  Cache size:     32768
  Global memory size:     8555302912
  Constant buffer size:     65536
  Max number of constant args:     8
  Local memory type:     Global
  Local memory size:     32768

  Kernel Preferred work group size multiple:     1

  Error correction support:     0
  Unified memory for Host and Device:     1
  Profiling timer resolution:     331
  Device endianess:     Little
  Available:     Yes
  Compiler available:     Yes
  Execution capabilities:    
Execute OpenCL kernels:     Yes
Execute native function:     Yes
  Queue on Host properties:    
Out-of-Order:     No
Profiling :     Yes
  Platform ID:     000007FEE368BFB0
  Name:         Intel(R) Core(TM) i5-3450 CPU @ 3.10GHz
  Vendor:     GenuineIntel
  Device OpenCL C version:     OpenCL C 1.2
  Driver version:     1573.4 (sse2,avx)
  Profile:     FULL_PROFILE
  Version:     OpenCL 1.2 AMD-APP (1573.4)
  Extensions:     cl_khr_fp64 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_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_device_fission cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_d3d10_sharing cl_khr_spir cl_khr_gl_event
0 Likes
lrdxgm
Journeyman III

I have the exact same problem.

I have an R9 290 + Windows 8.1 + Visual Studio 2013 Update 3 + CodeXL 1.5 + Catalyst 14.4 (tried with 14.9 as well) configuration, and I see the same warning in CodeXL configuration, and can only select the CPU for analysis.

I don't have another Radeon graphics to try; I switched from a GeForce to Radeon because of the supposedly better OpenCL tool support (what is sadly not a big requirement)..

I cannot find any download link to old versions of CodeXL, so I cannot test if it is a bug just in the newest version.

Is there any known workaround?

My clinfo output is this: https://drive.google.com/file/d/0B5clvbTTjpCDVUc3eERVY1B5VzQ/view?usp=sharing

0 Likes

Retested with the new Catalyst driver released today. Same thing. CodeXL is still unusable for kernel analysis.

0 Likes
victzhang
Adept I

I have the same issue on Ubuntu 14.10 and solved it. I got the following error on console when starting CodeXL:

Assertion failure (Failed to load module. OS error is: /usr/lib32/fglrx/dri/../libGL.so.1: wrong ELF class: ELFCLASS32. Module = l) osLoadModule /data/jenkins/workspace/CodeXL-1.6-Linux/release/CodeXL/1.6/CommonProjects/AMDTOSWrappers/src/linux/osModule.cpp line: 62

It seems the dynamic library loader in CodeXL cannot find proper OpenGL library. The fglrx OpenGL library is at /usr/lib/fglrx/ on my system.

As a workaround, I did:

sudo ln -s /usr/lib/fglrx/libGL.so.1 /usr/lib/libGL.so.1

and then CodeXL is happy to analyze my code.

0 Likes
dorono
Staff

Hi,

Thanks for this report.

CodeXL's detection of the installed OpenCL runtime version was mistakenly dependent on the local OpenGL library. This will be fixed in the upcoming CodeXL release.

0 Likes