| View previous topic :: View next topic |
| Author |
Message |
sebastien.deldon@pgroup.c
Joined: 02 Jan 2008 Posts: 5
|
Posted: Tue Nov 27, 2012 1:33 am Post subject: |
|
|
Hello ckit,
Try adding an explicit load of OpenCLo library in JavalibOpenCL to see if it solves the issue:
System.loadLibrary ("OpenCLo");
System.loadLibrary ("OpenCL");
Best Regards
Seb |
|
| Back to top |
|
 |
ckit
Joined: 16 Jul 2012 Posts: 7
|
Posted: Wed Nov 28, 2012 1:35 pm Post subject: |
|
|
Hi.
Words were not enough int the previous post.
I wrote it.
I can hook other functions such as clCreateContext and clCreateCommandQueue and so on.
my program return an error (CL_INVALID_BINARY) when it reaches the clCreateWithBinary.
For this reason I think my program can load the library.
ckit |
|
| Back to top |
|
 |
sebastien.deldon@pgroup.c
Joined: 02 Jan 2008 Posts: 5
|
Posted: Thu Nov 29, 2012 7:45 am Post subject: |
|
|
Hi ckit,
Can you share your source code with me, to see if I can help ?
Seb |
|
| Back to top |
|
 |
ckit
Joined: 16 Jul 2012 Posts: 7
|
Posted: Mon Dec 03, 2012 4:13 am Post subject: |
|
|
Hi.
Sorry for late reply.
I'm really glad your help.
Too long to post all the code.
https://github.com/chikat/OclHookPGCL
I push jni directory in github.
Please put libOpenCLo.so was renamed from libOpenCL.so in this directory.
I've created a libOpenCL.so from these files by ndk-build.
Place the libOpenCL.so JavaLibOpenCL project that was created, I'm running NDKOclImageInverse.
However, an error occurs.
Thank you.
ckit |
|
| Back to top |
|
 |
sebastien.deldon@pgroup.c
Joined: 02 Jan 2008 Posts: 5
|
Posted: Mon Dec 10, 2012 8:16 am Post subject: |
|
|
Hi ckit,
Sorry for the late reply, but I can't use git with outside site. Can you provide me your source base as a .tgz archive for instance ?
Thanks
Seb |
|
| Back to top |
|
 |
|