beignet error on haswell GPU
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
beignet (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Description: Ubuntu 20.04.1 LTS
Release: 20.04
I'm trying to run the StarTools GPU accelerated version, but I'm getting errors. The program becomes unusable afterwards.
Here is my clinfo and error:
Number of platforms 1
Platform Name Intel Gen OCL Driver
Platform Vendor Intel
Platform Version OpenCL 2.0 beignet 1.3
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_
_global_
d_atomics cl_khr_
cl_khr_
tel_subgroups_short
Platform Extensions function suffix Intel
Platform Name Intel Gen OCL Driver
Number of devices 1
Device Name Intel(R) HD Graphics Haswell Ultrabook
GT2 reserved
Device Vendor Intel
Device Vendor ID 0x8086
Device Version OpenCL 1.2 beignet 1.3
Driver Version 1.3
Device OpenCL C Version OpenCL C 1.2 beignet 1.3
Device Type GPU
Device Profile FULL_PROFILE
Device Available Yes
Compiler Available Yes
Linker Available Yes
Max compute units 20
Max clock frequency 1000MHz
Device Partition (core)
Max number of sub-devices 1
Supported partition types None, None, None
Supported affinity domains (n/a)
Max work item dimensions 3
Max work item sizes 512x512x512
Max work group size 512
Preferred work group size multiple 16
Preferred / native vector sizes
char 16 / 8
short 8 / 8
int 4 / 4
long 2 / 2
half 0 / 8 (n/a)
float 4 / 4
double 0 / 2 (n/a)
Half-precision Floating-point support (n/a)
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-
Double-precision Floating-point support (n/a)
Address bits 32, Little-Endian
Global memory size 2147483648 (2GiB)
Error Correction support No
Max memory allocation 1610612736 (1.5GiB)
Unified memory for Host and Device Yes
Minimum alignment for any data type 128 bytes
Alignment of base address 1024 bits (128 bytes)
Global Memory cache type Read/Write
Global Memory cache size 8192 (8KiB)
Global Memory cache line size 64 bytes
Image support Yes
Max number of samplers per kernel 16
Max size for 1D images from buffer 65536 pixels
Max 1D or 2D image array size 2048 images
Base address alignment for 2D image buffers 4096 bytes
Pitch alignment for 2D image buffers 1 pixels
Max 2D image size 8192x8192 pixels
Max 3D image size 8192x8192x2048 pixels
Max number of read image args 128
Max number of write image args 8
Local memory type Local
Local memory size 65536 (64KiB)
Max number of constant args 8
Max constant buffer size 134217728 (128MiB)
Max size of kernel argument 1024
Queue properties
Out-of-order execution No
Profiling Yes
Prefer user sync for interop Yes
Profiling timer resolution 80ns
Execution capabilities
Run OpenCL kernels Yes
Run native kernels Yes
SPIR versions 1.2
printf() buffer size 1048576 (1024KiB)
Built-in kernels __cl_copy_
n_align16;
py_region_
ge_2d_to_
cl_copy_
_copy_buffer_
n_align4;
cl_fill_
array;_
Device Extensions cl_khr_
_global_
d_atomics cl_khr_
cl_khr_
tel_subgroups_short
NULL platform behavior
clGetPlatform
clGetDeviceID
clCreateConte
clCreateConte
Platform Name Intel Gen OCL Driver
Device Name Intel(R) HD Graphics Haswell Ultrabook
GT2 reserved
clCreateConte
clCreateConte
Platform Name Intel Gen OCL Driver
Device Name Intel(R) HD Graphics Haswell Ultrabook
GT2 reserved
clCreateConte
clCreateConte
clCreateConte
Platform Name Intel Gen OCL Driver
Device Name Intel(R) HD Graphics Haswell Ultrabook
GT2 reserved
ICD loader properties
ICD loader Name OpenCL ICD Loader
ICD loader Vendor OCL Icd free software
ICD loader Version 2.2.11
ICD loader Profile OpenCL 2.1
And here are the first 5 (of hundreds) of errors from beignet:
./StarTools-
drm_intel_
Beignet: "Exec event 0x7f5c9001e610 error, type is 4592, error status is -5"
drm_intel_
Beignet: "Exec event 0x7f5c9002b0e0 error, type is 4592, error status is -5"
drm_intel_
Beignet: "Exec event 0x7f5c9001dc10 error, type is 4592, error status is -5"
drm_intel_
Beignet: "Exec event 0x7f5c9001de00 error, type is 4592, error status is -5"
drm_intel_
Beignet: "Exec event 0x7f5c9002bfd0 error, type is 4592, error status is -5"
drm_intel_
Expected: No errors. The process ends correctly.
Actual: The process (it's calculating the position of stars in an astro-photo) ends fully rather than partially after a long wait.
TIA,
Steve
tags: | added: beignet opencl |
Please try running the tests (install the beignet-dev package, then /usr/lib/ x86_64- linux-gnu/ beignet/ utest_run ).
If this doesn't trigger the bug, do you have a way to do so that doesn't require non-Ubuntu software?