Nicholas Yue
I have encounter a different error but it might be that my GPU is too old. Anyway, on my MacBook (2008) OS X Yosemite 10.10.4, I build and ran the example code with the following results. Hopefully, this is useful for the developer to debug related problem.
NOTE : I have tried with very small sizes e.g. 10, 100 etc (same crash)
Nicholass-MacBook:build_BoostTutorialClang nicholas$ ./compute/sorting 10000000 ===============CPU================== time: iteration (0) : 1267 ms time: iteration (1) : 1273 ms time: iteration (2) : 1275 ms time: iteration (3) : 1276 ms time: iteration (4) : 1273 ms Platform 'Apple' Ignoring non GPU devices. ==== GPU Device: GeForce 9400M ==== /Users/nicholas/systems- clang/boost/v1.61.0/include/boost/compute/program.hpp(271): Throw in function void boost::compute::program::build(const std::string &) Dynamic exception type:
boost::exception_detail::clone_impl
std::exception::what: Build Program Failure ====
Hi, Thanks, seems like it failed to build against GeFroce 9400M. I will wait for update/reply before posting this to developers mailing list. Regards, Prashant