Skip to content

core(ocl): skip SPIR test on AMD devices if problem detected#19720

Merged
opencv-pushbot merged 1 commit intoopencv:3.4from
alalek:ocl_test_skip_spir_amd
Mar 13, 2021
Merged

core(ocl): skip SPIR test on AMD devices if problem detected#19720
opencv-pushbot merged 1 commit intoopencv:3.4from
alalek:ocl_test_skip_spir_amd

Conversation

@alalek
Copy link
Copy Markdown
Member

@alalek alalek commented Mar 13, 2021

Details: https://community.amd.com/t5/opencl/spir-support-in-new-drivers-lost/td-p/170165

Current OpenCL device: 
    Type = dGPU
    Name = Baffin
    ...
    Device extensions:
        ...
        cl_khr_spir

[ RUN      ] OpenCL.support_SPIR_programs
Program SPIR size: 1700 bytes
OpenCL program build log: /simple_spir
Status -11: CL_BUILD_PROGRAM_FAILURE

Error: HSAIL doesn't support OpenCL extension spir.
An invalid binary was detected.
Error: BRIG code generation failed.

/build/3_4_noICV-skx-lin64/opencv/modules/core/test/ocl/test_opencl.cpp:123: Failure
Value of: program.ptr() != NULL
  Actual: false
Expected: true
[  FAILED  ] OpenCL.support_SPIR_programs (0 ms)

force_builders=Custom,Linux OpenCL
build_image:Custom=ubuntu:20.04
buildworker:Custom=linux-3
test_opencl:Custom=ON

build_image:Linux AVX2=ubuntu:18.04
buildworker:Linux AVX2=linux-5
test_opencl:Linux AVX2=ON

@alalek
Copy link
Copy Markdown
Member Author

alalek commented Mar 13, 2021

👍

@opencv-pushbot opencv-pushbot merged commit 7a8e171 into opencv:3.4 Mar 13, 2021
@alalek alalek mentioned this pull request Mar 13, 2021
@alalek alalek mentioned this pull request Apr 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants