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
When using the function "floor" from math.h in a kernel, coriander compiles and link the CUDA code fines, but at run time, the linked binary produces the following error:
OpenCL platform: Intel Gen OCL Driver
OpenCL device: Intel(R) HD Graphics Kabylake ULT GT2
llvm.floor.f32 is called, but not defined
This is probalby a bug in Coriander. Please file an issue at https://github.com/hughperkins/coriander/issues/new
basicblockdumper.runGeneration got exception whilst processing:
%16 = tail call float @llvm.floor.f32(float %15) #6
generateOpenCL failed to generate opencl sourcecode
kernel name orig=_Z6kernelPf
kernel name short=_Z6kernelPf
kernel name unique=_Z6kernelPf_1
writing ll to /tmp/failed-kernel.ll
caught runtime error llvm.floor.f32 is called, but not defined => cannot continue. Sorry :-(
terminate called after throwing an instance of 'std::runtime_error'
what(): llvm.floor.f32 is called, but not defined => cannot continue. Sorry :-(
Aborted (core dumped)
When using the function "floor" from math.h in a kernel, coriander compiles and link the CUDA code fines, but at run time, the linked binary produces the following error:
OpenCL platform: Intel Gen OCL Driver
OpenCL device: Intel(R) HD Graphics Kabylake ULT GT2
llvm.floor.f32 is called, but not defined
This is probalby a bug in Coriander. Please file an issue at https://github.com/hughperkins/coriander/issues/new
basicblockdumper.runGeneration got exception whilst processing:
%16 = tail call float @llvm.floor.f32(float %15) #6
generateOpenCL failed to generate opencl sourcecode
kernel name orig=_Z6kernelPf
kernel name short=_Z6kernelPf
kernel name unique=_Z6kernelPf_1
writing ll to /tmp/failed-kernel.ll
caught runtime error llvm.floor.f32 is called, but not defined => cannot continue. Sorry :-(
terminate called after throwing an instance of 'std::runtime_error'
what(): llvm.floor.f32 is called, but not defined => cannot continue. Sorry :-(
Aborted (core dumped)
Full CUDA code is in attachment.
testCode.zip
The text was updated successfully, but these errors were encountered: