Hi, I just got a new GPU today and I am keen to see if clBLAS works for me.
I checked out master, built, and ran the test-correctess, but I got this error. Is this a bug in clBLAS, or the amdgpu driver? I'd really appreciate your help in pointing me in the right direction as getting clBLAS working is something I've wanted for a few years and I thought this new card would solve my problems :smile:
I'm running archlinux which tends to follow the latest version of everything.
$ uname -a
Linux Samurai 4.15.11-1-ARCH #1 SMP PREEMPT Mon Mar 19 18:21:03 UTC 2018 x86_64 GNU/Linux
$ LD_LIBRARY_PATH=$PWD/library staging/test-correctness
Initialize default OpenCL and clblas...
SetUp: about to create command queues
Kernel Cache limit: 256 MB
Test environment:
Device name: Radeon RX 580 Series (POLARIS10 / DRM 3.23.0 / 4.15.11-1-ARCH, LLVM 6.0.0)
Device vendor: AMD
Platform (bit): Linux
clblas version: 2.12.0
Driver version: 17.3.7
Device version: OpenCL 1.1 Mesa 17.3.7
Global mem size: 4093 MB
---------------------------------------------------------
[==========] Running 1867284 tests from 293 test cases.
[----------] Global test environment set-up.
[----------] 4 tests from TRSM_extratest
[ RUN ] TRSM_extratest.strsm
========================================================
AN INTERNAL KERNEL BUILD ERROR OCCURRED!
device name = Radeon RX 580 Series (POLARIS10 / DRM 3.23.0 / 4.15.11-1-ARCH, LLVM 6.0.0)
error = -43
memory pattern = 2-staged cached global memory based block trsm, computing kernel generator
Subproblem dimensions: dims[0].itemY = SUBDIM_UNUSED, dims[0].itemX = 8, dims[0].y = 32, dims[0].x = 8, dims[0].bwidth = 32; ; dims[1].itemY = 4, dims[1].itemX = 1, dims[1].y = 4, dims[1].x = 1, dims[1].bwidth = 4; ;
Parallelism granularity: pgran->wgDim = 1, pgran->wgSize[0] = 64, pgran->wgSize[1] = 1, pgran->wfSize = 64
Kernel extra flags: 671090480
$ clinfo
Number of platforms 1
Platform Name Clover
Platform Vendor Mesa
Platform Version OpenCL 1.1 Mesa 17.3.7
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd
Platform Extensions function suffix MESA
Platform Name Clover
Number of devices 1
Device Name Radeon RX 580 Series (POLARIS10 / DRM 3.23.0 / 4.15.11-1-ARCH, LLVM 6.0.0)
Device Vendor AMD
Device Vendor ID 0x1002
Device Version OpenCL 1.1 Mesa 17.3.7
Driver Version 17.3.7
Device OpenCL C Version OpenCL C 1.1
Device Type GPU
Device Available Yes
Device Profile FULL_PROFILE
Max compute units 36
Max clock frequency 1411MHz
Max work item dimensions 3
Max work item sizes 256x256x256
Max work group size 256
Compiler Available Yes
Preferred work group size multiple 64
Preferred / native vector sizes
char 16 / 16
short 8 / 8
int 4 / 4
long 2 / 2
half 8 / 8 (cl_khr_fp16)
float 4 / 4
double 2 / 2 (cl_khr_fp64)
Half-precision Floating-point support (cl_khr_fp16)
Denormals No
Infinity and NANs Yes
Round to nearest Yes
Round to zero No
Round to infinity No
IEEE754-2008 fused multiply-add No
Support is emulated in software No
Single-precision Floating-point support (core)
Denormals No
Infinity and NANs Yes
Round to nearest Yes
Round to zero No
Round to infinity No
IEEE754-2008 fused multiply-add No
Support is emulated in software No
Correctly-rounded divide and sqrt operations No
Double-precision Floating-point support (cl_khr_fp64)
Denormals Yes
Infinity and NANs Yes
Round to nearest Yes
Round to zero Yes
Round to infinity Yes
IEEE754-2008 fused multiply-add Yes
Support is emulated in software No
Address bits 64, Little-Endian
Global memory size 4292050944 (3.997GiB)
Error Correction support No
Max memory allocation 3004435660 (2.798GiB)
Unified memory for Host and Device No
Minimum alignment for any data type 128 bytes
Alignment of base address 32768 bits (4096 bytes)
Global Memory cache type None
Image support No
Local memory type Local
Local memory size 32768 (32KiB)
Max constant buffer size 2147483647 (2GiB)
Max number of constant args 16
Max size of kernel argument 1024
Queue properties
Out-of-order execution No
Profiling Yes
Profiling timer resolution 0ns
Execution capabilities
Run OpenCL kernels Yes
Run native kernels No
Device Extensions cl_khr_byte_addressable_store 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_fp64 cl_khr_fp16
NULL platform behavior
clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) Clover
clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) Success [MESA]
clCreateContext(NULL, ...) [default] Success [MESA]
clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) Success (1)
Platform Name Clover
Device Name Radeon RX 580 Series (POLARIS10 / DRM 3.23.0 / 4.15.11-1-ARCH, LLVM 6.0.0)
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) Success (1)
Platform Name Clover
Device Name Radeon RX 580 Series (POLARIS10 / DRM 3.23.0 / 4.15.11-1-ARCH, LLVM 6.0.0)
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) Success (1)
Platform Name Clover
Device Name Radeon RX 580 Series (POLARIS10 / DRM 3.23.0 / 4.15.11-1-ARCH, LLVM 6.0.0)
ICD loader properties
ICD loader Name OpenCL ICD Loader
ICD loader Vendor OCL Icd free software
ICD loader Version 2.2.12
ICD loader Profile OpenCL 2.2
Hi, I just got a new GPU today and I am keen to see if clBLAS works for me.
I checked out
master
, built, and ran thetest-correctess
, but I got this error. Is this a bug in clBLAS, or theamdgpu
driver? I'd really appreciate your help in pointing me in the right direction as getting clBLAS working is something I've wanted for a few years and I thought this new card would solve my problems :smile:I'm running archlinux which tends to follow the latest version of everything.