Closed GoogleCodeExporter closed 9 years ago
I see in the user guide:
Aparapi depends on AMD’s OpenCL™ driver to execute on the GPU and therefore
shares the same device, driver, and platform compatibility requirements as AMD
APP SDK V2.5®.
Does "AMD’s OpenCL™ driver" mean the graphics card driver or the AMD APP
SDK driver? Maybe my configuration is not intended to be supported. In that
case I withdraw the issue; though it would of course be good to see it fixed.
Probably not relevant but ...
I had a false (I hope) positive from Norton on aparapi_x86.dll after initial
unzip. I restored it from quarantine, so that issue shouldn't be related to
the failure. Just in case I have tried executing with Norton turned off, but
same warnFallBackAndExecute issue.
Thanks, Stephen
Original comment by stephenT...@gmail.com
on 18 Oct 2011 at 11:49
Stephen my guess is that the opencl version check is failing. We check for
version 1.1 (except for mac os)
Are you in a position to build aparapi from source to try some experimemts?
Apologies for brevity. On phone from vacation.
In the aparapi.cpp file we check the version string, possibly this is not
matching the pattern we expect in your case.
There is a property to turn on jni warnings (see quickreference guide pdf) it
should report discovered version info.
Original comment by frost.g...@gmail.com
on 18 Oct 2011 at 12:38
Original comment by frost.g...@gmail.com
on 18 Oct 2011 at 12:40
Try setting -Dcom.amd.aparapi.enableVerboseJNI=true to see if jni code is
reporting any issues. Also ensure that the opencl driver (in your case nvidia)
is in your path.
Original comment by frost.g...@gmail.com
on 18 Oct 2011 at 12:46
I am ashamed ~ after all the times I've asked people 'Have you installed the
latest drivers?' The point in your first comment was correct, and confirmed by
the enableVerboseJNI in your second comment. With new NVidia drivers, all
works ok.
Thanks for the brilliant service ~ but you should be European instead of
American: DON'T check your work when on vacation. Again, many thanks. Stephen
Original comment by stephenT...@gmail.com
on 18 Oct 2011 at 1:05
No problem Stephen. Glad to help and glad that you sorted it out.
Original comment by frost.g...@gmail.com
on 18 Oct 2011 at 2:16
nvidia 290.36 => not working please give a working driverversion
Original comment by ma...@freenet.de
on 3 Dec 2011 at 11:02
same problem here :
C:\Users\LaptpUser\Folder\aparapi-2012-02-15\aparapi-2012-02-15\samples\mandel>j
av
a -Djava.library.path=../.. -Dcom.amd.aparapi.executionMode= -classpath ../..
/aparapi.jar;mandel.jar com.amd.aparapi.sample.mandel.Main
5/05/2012 09:15:36 PM com.amd.aparapi.KernelRunner warnFallBackAndExecute
WARNING: Reverting to Java Thread Pool (JTP) for class com.amd.aparapi.sampl
e.mandel.Main$MandelKernel: initJNI failed to return a valid handle
Execution mode=JTP
Asus Laptop Core i7 8GB RAM / AMD HD5730 1GB RAM
Java 6
Original comment by yur...@gmail.com
on 6 May 2012 at 2:28
How did this get solved? I have the same problem
Original comment by jovanson...@truste.com
on 5 Jul 2012 at 3:54
I think that Stephen downloaded the latest OpenCL driver from NVidia for his
device. Aparapi needs OpenCL 1.1 or above (on windows/linux). We allow 1.0
for Apple.
If you type clinfo (usually installed with OpenCL runtime) it should report the
OpenCL driver version.
If you enableVersboseJNI (-Dcom.amd.aparapi.enableVerboseJNI) aparapi will
report the drivers that it encounters (including version I think).
Gary
Original comment by frost.g...@gmail.com
on 5 Jul 2012 at 6:37
Vista 32 bit java version "1.6.0_26" Intel CPU, GeForce GTX 460. I have the latest AMD APP SDK.
Our own custom Java/openCL code using Jocl runs on either GPU or CPU. Device information from JOCL below in case that helps.
Original issue reported on code.google.com by
stephenT...@gmail.com
on 18 Oct 2011 at 10:28