Boost logo

Boost Users :

Subject: Re: [Boost-users] [boost::compute] [OS X 10.11.5] [GeForce GT 750M] Segmentation fault
From: Prashant (prashant.thakre_at_[hidden])
Date: 2016-05-20 00:59:16


Nicholas Yue <yue.nicholas <at> gmail.com> writes:

> 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<boost::exception_detail::
error_info_injector<boost::
compute::opencl_error>
> >
> 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

 


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net