Closed amarant closed 8 years ago
Hi Arnaud -- we're working on fixing up compilation and other bugs in the GPU backend right now, so we should be up to speed very soon. Details in PR #47
So I could compile it with CUDA enabled after having compiled LLVM with RTTI with -DLLVM_ENABLE_RTTI=ON
, but I got an error on execution :
Compiler bug at simit/src/backend/gpu/gpu_backend.cpp:806 in emitAtomicLoadAdd Please report it to http://issues.simit-lang.org Unknown LLVM value type for atomic load add. Ensure you are executing GPU compilation with single-precision floats. terminate called after throwing an instance of 'simit::SimitException' what():
This generally occurs if you attempt to compile a program with double-precision floats enabled, as the relevant atomic operation is only supported for single-precision with our current method of compilation. Make sure you call simit::init("gpu", sizeof(float)).
Thanks, it worked in its way ...
Using CUDA Device [0]: GeForce GTX 670 Device Compute Capability: 3.0 ERROR: Device 0 is not SM 3.5 or greater
Time you buy a new GC i guess :laughing:
Ah, well that puts a damper on things! I'm going to go ahead and close this issue.
Hi, I successfully compiled simit with clang and gcc and ran it with the CPU back-end, but with the GPU back-end (activated with
export SIMIT_CUDA_ENABLE=1
) I ended up with errors during the compilation.Any ideas that would correct it ? Thanks.