| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \ \
| |/ /
|/| /
| |/ |
Fix OpenCL test failures on Solaris for bug 978.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | |
| | | |
'wwalker/fix_jocl_bug_981_out_of_direct_buffer_memory'
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
These tests now adaptively reduce the global work size until they
successfully allocate memory for their DirectByteBuffers. This
makes the tests work on JVMs where XX:MaxDirectMemorySize is
smaller than the modern defaults. These tests were failing on
OS X 10.6 for this reason.
|
| | |
| | |
| | |
| | |
| | |
| | | |
decorations to remove warnings.
Note 'static import' is evil .. :)
|
| | |
| | |
| | |
| | |
| | |
| | | |
to CLContext - Split CLBufferTest and use alignment.
See Bug 979 for remaining issues and discussion.
|
| | |
| | |
| | |
| | |
| | |
| | | |
generate.jdk7.autocloseable' in java.generate.impl
Regression of commit 46cc6ebfb2f53daebceb9a36b553ff01af56999f
|
| | |
| | |
| | |
| | | |
uptodate (use java.generate.skip); Put native code on gensrc/native/jocl
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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!
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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 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}.
|
| | | |
|
| | | |
|
| | | |
|
|/ / |
|
|/
|
|
|
|
|
|
| |
This commit fixes bugs 959 (local work size set incorrectly),
960 (concurrencyTest() throws ConcurrentModificationException)
963 (programBinariesTest() causes SIGSEGV) and 964 (builderTest()
cases CL_INVALID_VALUE). After this commit, all JOCL tests should
pass on 64-bit Mac OS X.
|
| |
|
|
|
|
| |
package location (sorry)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(make) due to relative fileset access only!
Commit aac4c5fc4ab7c77eff3b71f518100dd182ec2c33 moved processed CL stub_includes
to 'build/includes', which would be 'nice to have'.
However, due to relative fileset restrictions, we must locate it from current folder 'make'.
Not detected, since an old 'make/includes/CL' was still around.
Using dedicated folder 'make/stub_includes.gen'.
|
| |
|
|
|
|
| |
Added main entry and listed in tests.sh for manual test.
|
|
|
|
| |
tests ; Fix setenv-jocl.sh: Add jocl-test.jar
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.)
|
|
|
|
| |
rootrel.build (as gluegen does)
|
|
|
|
| |
and apk files in ${build}/jar (as it was before new build system)
|
| |
|
|
|
|
| |
file suffix ; Fix Jar Manifest: Move Sealed to bottom.
|
|\
| |
| |
| | |
'wwalker/bug_884_replace_netbeans_build_with_jogamp_standard_build'
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The new make/build.xml successfully builds and tests the project. The
original NetBeans build files are still present, but won't work anymore
since the resources directory is now inside the make directory. The new
build files are based on those of JOAL. The new build is not yet minimized
and cleaned up, because this commit is meant to be the minimum way to get
things functional.
|
|/
|
|
| |
duh), add 'Application-Library-Allowable-Codebase: *'
|
|
|
|
| |
'gluegen-xcode_clang.properties' for OSX xcode-clang ; Add GNU/Linux LLVM/clang build scripts
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Use DynamicLibraryBundleInfo w/ alternative native library names,
drop manual coding of loading and binding, i.e. JOCLJNILibLoader.
After trying opencl native libs (and failing), try GL libs ..
We use a manual impl. to CL's 'clGetExtensionFunctionAddress' similar to JOAL, JOGL ...
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
CLGLTexture2d.createFromGL*, CLGLTexture3d.createFromGL*, CLGLImage2d.createFromGL* and CLGLBuffer.createFromGL* - instead of returned 'id'
Thank you Johan & Daniel !
Using your original patch, I went through the other CLGL[Texture*|Image2d|Buffer] classes
and ensured all are handled the same.
Reported and 1st patch provided by: Johan <[email protected]>
Confirmed by: Daniel Balog <[email protected]>
|
|
|
|
| |
(Easy on ClassLoader)
|
|
|
|
| |
imageSlicePitch return values while always passing PointerBuffers (size_t*) for same values to clEnqueueMapImage(..)
|
|
|
|
| |
putCopyBuffer(..) impl. method
|
|
|
|
|
|
| |
CLGL.CL_CONTEXT_PROPERTY_USE_CGL_SHAREGROUP_APPLE and comment it's usage; Remove 'import static'
Note: JOCL impl. shall remove all 'import static' to remove hardhsip on ClassLoader ..
|
|\ |
|
| |
| |
| |
| | |
with GLContext sharing.
|
| | |
|
| | |
|
|/ |
|
| |
|