g++-compiled OpenCL program doesn't work, but clang++'s can -
my code here.
initially, use g++ compile:
g++ cl.cpp -i/usr/local/cuda-7.0/include -l/usr/local/cuda-7.0/lib64 -lopencl && ./a.out
but error occurs in run-time:
inconsistency detected ld.so: dl-version.c: 224: _dl_check_map_versions: assertion `needed != ((void *)0)' failed!
however, while replace g++ clang++, works well.
could tell me difference between them? thanks.
Comments
Post a Comment