You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.
However, compiling for the amdgcn back-end using clang-5.0.0 produces a [CL_BUILD_ERROR] : OpenCL Build Error : Compiler build log:\nUnknown bitstream version!\n with clCreateProgramWithBinary:
The two files look somewhat similar, so I'm wondering if there's anything I'm missing, or whether it's just that there's no way to run this code on a Mac.
Is it possible to run code compiled with the
amdgcn
llvm backend on macOS?When I use Apple's
openclc
compiler, I get code I can load usingclCreateProgramWithBinary
:However, compiling for the
amdgcn
back-end usingclang-5.0.0
produces a[CL_BUILD_ERROR] : OpenCL Build Error : Compiler build log:\nUnknown bitstream version!\n
withclCreateProgramWithBinary
:The two files look somewhat similar, so I'm wondering if there's anything I'm missing, or whether it's just that there's no way to run this code on a Mac.
Hex dump of the start of the Apple
<output>.bc
:Hex dump of the start of the
amdgcn
<output.bc>
:(BTW: I'm trying to use
clCreateProgramWithBinary
with an AMD Radeon Pro 460, which AFAICT, is supported byamdgcn
.)The text was updated successfully, but these errors were encountered: