On Mon, Mar 14, 2016 at 6:32 PM, Param Hanji <param.catchch...@gmail.com>
wrote:

> Hello,
>
> I got the -z working. However only CPU parallelization is done. In my
> build/CmakeCache.txt, the boolean BRLCAD_ENABLE_OPENCL is OFF.
>

I guess Cmake isn't detecting OpenCL on your system. You might have to run
'cmake-gui' in order to point to the place where the OpenCL include files
(e.g. CL/cl.h) and libraries (libOpenCL.so) are located in your system.
Did you do basic tests to see if OpenCL is correctly installed? You can
check that out with the 'clinfo' command (there's a Debian package for it
and if you don't have a package its easy to compile).

Unless BRLCAD_ENABLE_OPENCL is ON the OpenCL host code will be #ifdefd out
and won't be compiled at all.

> I'm guessing that's why my OpenCL files don't compile. How do I change
> this?
>
OpenCL 1.2 loads the .cl device code source files at runtime and compiles
them at runtime. This is often done by the driver kind of like compiling
GLSL shaders.


>
> ------------------------------------------------------------------------------
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
> _______________________________________________
> BRL-CAD Developer mailing list
> brlcad-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>
>


-- 
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to