summaryrefslogtreecommitdiffstats
path: root/make/config
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #5 from WadeWalker/bug_978_fix_solaris_testsWade Walker2014-02-242-13/+15
|\ | | | | Fix OpenCL test failures on Solaris for bug 978.
| * Fix OpenCL test failures on Solaris.Wade Walker2014-02-232-13/+15
| | | | | | | | | | | | | | | | | | | | Since nobody currently makes an OpenCL driver for Solaris, all the tests used to fail, which told us nothing. This commit adds code to check whether OpenCL is unavailable and the OS is Solaris, in which case the test contents are skipped. If an OpenCL driver ever appears for Solaris, or if we start testing on another platform with no OpenCL driver, there's now one single place to add or remove checks that will allow for this.
* | build.xml: Don't re-generate source (gluegen) if CLAbstractImpl_JNI.c ↵Sven Gothel2014-02-171-1/+1
| | | | | | | | uptodate (use java.generate.skip); Put native code on gensrc/native/jocl
* | Fix Bug 920 - JOCL does not work on windows with 32 bit vm (2/2)Sven Gothel2014-02-171-0/+3
| | | | | | | | | | | | | | | | | | | | | | All gluegen generated native function wrappers, miss CL_API_CALL in the function declarations similar to commit 569726132f622e290bebc5d40c96f8115dbcb5da. Adding gluegen calling convention to cl-impl.cfg: LocalProcAddressCallingConvention __ALL__ CL_API_CALL All tests passed on windows 32bit now!
* | Fix Bug 920 - JOCL does not work on windows with 32 bit vm (1/2)Sven Gothel2014-02-171-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 'clGetExtensionFunctionAddress' function pointer declaration was faulty, i.e. using CL_API_ENTRY instead of CL_API_CALL. CL_API_CALL on windows is defined as '__stdcall' which impacts Window 32bit platforms. Fixed same issue w/: - clCreateContext - clBuildProgram Same issue occurs with _all_ gluegen generated native function wrappers, i.e. CL_API_CALL is missing in the function declarations! I will follow-up w/ this fix in a bit ..
* | Fix build.xml: Remove gluegen config dependency on ../build using build-tempSven Gothel2014-02-171-11/+11
|/ | | | | | | | Fix copy2temp target and issue it before gluegen of cl-if.cfg. Note: ${project.root}/build cannot be a hard-dependency since ${rootrel.build} is configurable hence ${project.root}/${rootrel.build}.
* Cleanup Build: GlueGen config files, stub_includes; Add JoclVersion, Android ↵Sven Gothel2014-01-2619-0/+1043
JoclVersionActivity Cleanup Build: - Move gluegen config files into make/config (cleanup) - Move stub_includes into respective folder make/stub_includes and keep resources 'clean' JoclVersion: - Analoge to JoglVersion, replaces JOCLVersion (deprecated for now) - Added text based CL info dump. JoclVersionActivity: - Analog to JoclVersionActivity - Added full launch .. tested on Android (but no OpenCL avail.)