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.
Best,
Param
On Wed, Mar 16, 2016 at 8:35 AM Param Hanji <param.catchch...@gmail.com>
wrote:
> Hello,
>
> Yup I did run the OpenCL programs. I still can run them. I tried clinfo on
> root as well. Still no luck. Everyone seems to have issues with Nvidia
> OpenCL support.
>
> I'll first try the AMD SDK which should hopefully work. Otherwise I could
> use my desktop at home which has an AMD card and OpenCL working. But I
> can't access it till the end of April during vacations.
>
> Cheers,
> Param
>
> On Wed 16 Mar, 2016, 2:00 AM Vasco Alexandre da Silva Costa, <
> vasco.co...@gmail.com> wrote:
>
>> On Tue, Mar 15, 2016 at 8:05 PM, Vasco Alexandre da Silva Costa <
>> vasco.co...@gmail.com> wrote:
>>
>>> On Tue, Mar 15, 2016 at 11:52 AM, Param Hanji <
>>> param.catchch...@gmail.com> wrote:
>>>
>>>> Further reading hinted at the lack of OpenCL 1.2 on Nvidia graphics
>>>> cards. The clinfo package for Ubuntu doesn't recognize my GPU for the same
>>>> reason.
>>>>
>>>> I checked their official website at
>>>>
>>>>
>>>> http://www.geforce.com/hardware/notebook-gpus/geforce-gt-730m/specifications
>>>>
>>>> Sure enough only OpenCL 1.1 is listed. How do I move forward?
>>>>
>>>
>>> Yeah it seems your GPU only supports OpenCL 1.1. In that case you can
>>> use the AMD APP SDK which should run on any modern x86 CPU:
>>>
>>> http://developer.amd.com/tools-and-sdks/opencl-zone/amd-accelerated-parallel-processing-app-sdk/
>>>
>>
>> PS: It's kind of weird though. The GeForce GT 730M is based on the Kepler
>> architecture which should support OpenCL 1.2 fine as long as you have
>> recent NVIDIA drivers with CUDA 7.0 SDK or later.
>>
>> --
>> 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
>>
>
------------------------------------------------------------------------------
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