| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |\ |
|
| |\ \
| | | |
| | | | |
Changing CLBuffer to use Buffer#limit() over Buffer#capacity()
|
| | | |
| | | |
| | | |
| | | | |
direct buffer that the CLBuffer is being created for as this more closely represents the users intention about the buffer size.
|
| |/ /
| | |
| | |
| | | |
instead of capacity() in order to respect the user's desired buffer size in memory operations.
|
| | |
| | |
| | |
| | | |
This test didn't work properly, since that property only applies to
custom devices and built-in kernels.
|
| | |
| | |
| | |
| | |
| | | |
Added workgroup info functions for OpenCL 1.1, since that's the version
the CL Java objects currently wraps. Also added a test that shows how to
query values from version 1.2 and later.
|
| | |
| | |
| | |
| | | |
PointerBuffer.ELEMENT_SIZE -> AbstractBuffer.POINTER_SIZE
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
reverting commit a4293575bb9fadf71c8e8c59d7384f69c6718b2f
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
w/o AWT (iOS)
|
| | |
| | |
| | |
| | | |
Add iOS build scripts
|
| | | |
|
| | |
| | |
| | |
| | | |
(required by android)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
directives for apk
The 'Name <folder>' leads new apk to claim the missing resources (the folder actually)
and fails to install the apk.
Hence removed tagging the folders sealed.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
manifest SDK API [min=21, target=28]
Also fix all make/scripts using Java11 as 'host compiler' and Java8 as target-rt-jar,
as well as adapt to GlueGen's new Android 'setenv-android-tools.sh' for new SDK/NDK as of 2019-12-10.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Since Java8 (or even earlier), JRE on OSX uses *.dylib native library suffix
instead of *.jnilib when automatically searching and loading them.
This is not easily being recognized by JogAmp, since we explicitly name
the native libraries with full path when testing with our TempJarCache.
|
|\ \ \
| |_|/
|/| | |
adding support for Android x86 platforms
|
| | |
| | |
| | |
| | |
| | |
| | | |
CL_DEVICE_TYPE_GPU (and not CL_DEVICE_TYPE_ALL).
That's the case with PowerVR OpenCL driver on Android devices.
|
| | | |
|
| |/
|/|
| |
| |
| | |
scripts/make.jocl.all.linux-aarch64-cross.sh:
New crosscompile script
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Copies changes from Sven's commit f7c50fca34df0b5d393ffab0da09bce19ddfba64
into the two new config files for OpenCL 1.2 and 2.0, so the fix will be
present in all three versions.
|
| |
| |
| |
| |
| |
| |
| | |
The include files were getting the OS X framework files from OpenCL/*.h,
instead of the local stub files from CL/*.h, which meant that OpenCL
2.x-related things were undefined. Changed OpenCL 2.x stub files to
refer to local .h files only. Maybe later change 1.x also, but leaving
it for now to minimize disruption to working code.
|
| |
| |
| | |
User events start as CL_SUBMITTED instead of CL_QUEUE on Intel.
|
| |
| |
| |
| |
| |
| | |
Added a couple of differences in test results for programs recreated
from binaries (the programs are executable and have binary length > 0),
and avoided the CL kernel creation test on a binary because it segfaults
like it does on AMD drivers.
|
| |
| |
| |
| |
| | |
The Intel OpenCL implementation calls the clBuildProgram notify function
on a different thread, so had to change a reentrant lock to a semaphore
to allow this.
|
| |
| |
| |
| |
| |
| | |
Fixed the dependency check for generated files; previously we were
looking at the wrong path, and always regenerating all files. Also
removed some include paths that don't contain any files, and renamed
some filesets so it's more clear what they contain.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Removed header file downloader task which was no longer used (and not
really possible to use, given the amount of manual tweaking needed to
get gluegen to run on a new set of header files). Removed some
commented-out lines that were obsolete. Fixed some formatting. Removed
some ARMv6-related stuff that made no sense for JOCL (was inherited from
JOAL). Added some forgotten dependency paths.
|
| | |
|
| |
| |
| | |
Now all three derive from CL, which is currently 1.1.
|
| |
| |
| |
| |
| | |
This removes the last sub-interface that would have to be separately
versioned for future versions of OpenCL. After this, new OpenCL versions
will only create one new interface and one new implementation.
|
| |
| |
| |
| | |
This completes the removal of all CL*Binding interfaces; all tests pass
at this point.
|
| |
| |
| | |
In preparation for removing the interfaces themselves
|
| |
| |
| |
| |
| |
| | |
Added a CLPlatform method to return a CLImpl version specific to a
device. This lets the user get a CLImpl12 or CLImpl20 instance which
they could then cast to the right type and use to access newer CL
functions than those in the default CLImpl11 object.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Consolidated C custom code so common functions are only defined once in
the 1.1 version, then are called from the 1.2 and 2.0 version. Pulled
common code in CLImpl up into the autogenerated implementation class and
removed the hand-written implementation (since it was left empty).
Factored custom Java code out so there was as little duplication as
possible across the three CLImpl versions, with common code for all
three versions in clImplCustomCode.java.
|
| |
| |
| |
| |
| | |
This makes all three versions (1.1, 1.2, and 2.0) use the same naming
convention, and sets me up to use the unversioned name to factor out
code common to all three.
|
| |
| |
| |
| |
| |
| |
| | |
Added stub includes for OpenCL 1.2 and 2.0. Added new CLImpl versions for
1.2 and 2.0 to the build, but left them unused for now. The CL bindings
used by JOCL are still generated from OpenCL 1.1, so the existing Java
code will be able to stay mostly unchanged in the future.
|