Posted by Xerxes Rånby on Dec 20, 2013; 5:11pm URL: https://forum.jogamp.org/Hardcoded-float-not-working-tp4030974p4031008.html
JOCL only look for libopencl inside the system library paths, there is no code to specifically look inside the $AMDAPPSDKROOT/lib path. A correctly configured system should have added $AMDAPPSDKROOT/lib to the LD_LIBRARY_PATH that is used by all applications on the system.
It may help to pass -Djogamp.debug.NativeLibrary.Lookup at runtime to let gluegen-rt tell which native library it found the OpenCL implementation inside on your system.