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

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -