Login  Register

Re: Hardcoded float not working?

Posted by Xerxes Rånby on Dec 20, 2013; 11:21am
URL: https://forum.jogamp.org/Hardcoded-float-not-working-tp4030974p4030997.html

I tested your code in combination with the latest JOCL 2.1.3 and got a different result:
Tested on a Linux Ubuntu 12.04 32bit system: NVIDIA Driver Version: 319.32

git clone http://github.com/xranby/jocl-test
cd jocl-test
sh fetch-jogamp-build.sh
sh compile.sh
sh run.sh

output:
CLContext [id: -1992935368, platform: NVIDIA CUDA, profile: FULL_PROFILE, devices: 1]
CLDevice [id: -1992905040 name: GeForce GT 610 type: GPU profile: FULL_PROFILE] build log:
    <empty>
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5