Please check out the debug error in the attachments. the code source is
available from the github,
under the c++ folder.
when i worked with cpu mode, not intel tbb mode( i don't know how to
configure everything after tried thought) , i gave me error of "biginteger"
no defined on gpu amd6750m in visual studio 2012.
mobile: 04 3238 8818
error_vs2012_gpu_amd6750M.zip 634.4 KB
Try the following to compile the code:
1. Add BigInteger class to the kernel code by keeping it inside BOLT_FUNCTOR.
2. The functors IntFunctor and Functor depend on BigInteger, so add this to main():
3. In Functor, you're using p with cl_int. Cast it to floating point.
Let me know if you are able to run it after these changes.