On Wed, Mar 16, 2016 at 7:28 PM, Param Hanji <param.catchch...@gmail.com>
wrote:
> Hi,
>
> Installing the AMD SDK gave me OpenCL 1.2 support. I managed to configure
> cmake using cmake-gui and built successfully. But raytrace still doesn't
> happen on my GPU. By adding fprintf statements, I found out that execution
> does indeed enter the #ifdef USE_OPENCL block at rt/main.c. However the if
> following block (if (opencl_mode)) is not entered.
>
> opencl_mode is set at opt.c at case: 'z'. I still don't know why its value
> doesn't change even if use -z option.
>
I think it is '-z 1'. The '-z' option currently requires a numeric argument.
'1' to enable OpenCL mode and '0' to disable it.
--
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