Login  Register

Re: Hardcoded float not working?

Posted by Sven Gothel on Dec 20, 2013; 4:13pm
URL: https://forum.jogamp.org/Hardcoded-float-not-working-tp4030974p4031007.html

On 12/20/2013 05:01 PM, Miha [via jogamp] wrote:

> Additional info:
>
> System: Linux 64 bit (Ubuntu 13.04 3.11.0-13-generic x86_64 )
> Java: tried openjdk6 and openjdk7 64bit
> Device: AMD Phenom(tm) II X2 555 and Radeon HD 5830 (neither works)
> Driver: Catalyst 13.10
> - created new user and started with semi-clean environment
> - tried runing from bash, Netbeans and Eclipse (not that it matters..)
>
> Didn't notice any other problems with OpenCL.
>
> Any ideas?
>
It seems to be OpenCL driver related
due to the negative results from others (Xerxes, Wade, .. ?).

May also be a corner case of a JOCL bug w/ that specific driver.

If float data CPU <-> GPU/CL-Kernel works properly on that device
and/or the others it simply seems to be a driver bug.

The float data transfer seems to work fine w/ you setup,
since casting the value works for you.

Another idea .. maybe it's related to the different OpenCL version ?

Just brainstorming ..

~Sven



signature.asc (911 bytes) Download Attachment