PS: Please attach the output of clinfo to your message, that might help
find out the problem.

If OpenCL is correctly configured and installed and rt still doesn't use
it, either you didn't enable OpenCL in rt at runtime (i.e. 'rt -z1'), or
you compiled 'rt' without OpenCL support. If you 'ldd' the 'rt' binary it
should be linked to the libOpenCL library. If it isn't linked with the
library you need to re-run cmake, enable the appropriate options (i.e. cmake
.. -DBRLCAD_BUNDLED_LIBS=ON -DCMAKE_BUILD_TYPE=Release
-DBRLCAD_ENABLE_OPENCL=ON), and recompile the code.

On Sun, Mar 18, 2018 at 12:01 AM, Vasco Alexandre da Silva Costa <
vasco.co...@gmail.com> wrote:

> Make sure to start 'rt' with the '-z1' flag. This should enable OpenCL
> mode.
> You should be able to see OpenCL debug messages on the console in that
> case.
>
>
>
> On Sat, Mar 17, 2018 at 9:35 PM, Sreyansh Jain <sreyanshjai...@gmail.com>
> wrote:
>
>> I checked with clinfo and I've OpenCL installed properly. How do I check
>> if it is working during MGED commands?
>>
>> ‌
>>
>> Warm Regards,
>>
>> *Sreyansh Kumhar Jain*
>> 4th Year Undergraduate Student
>> Department of Mechanical Engineering
>> Indian Institute of Technology, Kharagpur
>> *+91-9933958066 <+91%2099339%2058066>*
>>
>> sreyanshjai...@gmail.com
>> Facebook <https://www.facebook.com/sreyansh.sonu> | LinkedIn
>> <https://www.linkedin.com/in/sreyansh-kumhar-jain-a61428104/>
>>
>> On Sat, Mar 17, 2018 at 10:42 PM, Vasco Alexandre da Silva Costa <
>> vasco.co...@gmail.com> wrote:
>>
>>> Probably. Did you try the clinfo command I mentioned before?
>>> https://github.com/simleb/clinfo
>>>
>>> If clinfo doesn't show OpenCL installed there may be a configuration or
>>> installation issue.
>>>
>>> BTW this is the OpenCL version I use:
>>> https://developer.amd.com/amd-accelerated-parallel-processing-app-sdk/
>>>
>>> It's made by AMD but it runs on any x86 processor, Intel or AMD.
>>> Try these. If you still have issues then we can talk.
>>>
>>> On Sat, Mar 17, 2018 at 10:20 AM, Sreyansh Jain <
>>> sreyanshjai...@gmail.com> wrote:
>>>
>>>> I think I'm missing something trivial and thus having problems in
>>>> initializing ocl itself. I tried doing the same things with other
>>>> primitives(ell, hyp etc.) to get the same kinda results. Can we have a
>>>> quick Skype call to discuss the same ?
>>>>
>>>> ------------------------------------------------------------
>>>> ------------------
>>>> Check out the vibrant tech community on one of the world's most
>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>> _______________________________________________
>>>> 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
>>>
>>> ------------------------------------------------------------
>>> ------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> _______________________________________________
>>> BRL-CAD Developer mailing list
>>> brlcad-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>>>
>>>
>>
>> ------------------------------------------------------------
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> 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
>



-- 
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to