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/
> Thanks,
> Param
>
> On Tue 15 Mar, 2016, 3:50 PM Param Hanji, <param.catchch...@gmail.com>
> wrote:
>
>> >
>> > 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).
>> >
>>
>> I used cmake-gui to explicitly point to the OpenCL files and libraries as
>> you said. I have certainly performed basic tests. Over the past few weeks
>> I've also compiled several OpenCL programs as part of my coursework. I use
>>
>> 'gcc file_name.c -lOpenCL'
>>
>> to compile. Compilation fails if the -l comes before filename.
>>
>> > 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.
>> >
>>
>> However clinfo gives an error -30 with a message saying no version
>> information available even though I'm able to compile programs. I tried
>> looking for reasons but most webpages just suggested making links directly
>> which is rather crude. And rt still fails obviously.
>>
>>
>> >>
>> >>
>> ------------------------------------------------------------------------------
>> >> 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
>> >
>>
>
>
> ------------------------------------------------------------------------------
> 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