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 running code that uses CUDA.jl i get a CUDA.CuError(code=CUDA.cudaError_enum(0x00000004), details=CUDA.Optional{String}(data=nothing))
MWE:
#include <jluna.hpp>
using namespace jluna;
int main()
{
initialize();
Main.safe_eval(R"(
using CUDA
x = CuArray([1]).+1
)");
return 0;
}
Using the standard C embedding API, the same code works without issues:
#include <julia.h>
JULIA_DEFINE_FAST_TLS // o
int main(int argc, char *argv[])
{
jl_init();
jl_eval_string(R"(
using CUDA
x = CuArray([1]).+1
)");
jl_atexit_hook(0);
return 0;
}
The text was updated successfully, but these errors were encountered:
When running code that uses CUDA.jl i get a
CUDA.CuError(code=CUDA.cudaError_enum(0x00000004), details=CUDA.Optional{String}(data=nothing))
MWE:
Using the standard C embedding API, the same code works without issues:
The text was updated successfully, but these errors were encountered: