26 Commits

Author SHA1 Message Date
Ali-RS
db1b8f9eb4 Removed unused imports. (#1020) 2019-03-17 15:06:02 -07:00
shamanDevel
a8d77a7cd1 OpenCLObject.register() now returns this.
This allows to chain the register method like kernel=program.createKernel("ScaleKernel").register(); or testBuffer=clContext.createBuffer(1024).register();
2016-06-19 18:30:31 +02:00
shamanDevel
a834a4dad6 added test for multiple parallel applications: multiple OpenCL contexts do not work 2016-05-27 11:48:24 +02:00
shamanDevel
dcdcbc3a97 added test for context switching.
Changing the OpenCL platform and device by restarting the application works.
2016-05-27 10:32:49 +02:00
shamanDevel
732e75fba6 fixed unmapping of buffer objects and an error in setArg in Lwjgl3's Kernel 2016-05-11 09:19:30 +02:00
shamanDevel
250c871cab Added a library for Matrix4f 2016-05-11 09:02:50 +02:00
shamanDevel
4e55e0e5a0 added library for Matrix3f, fixed some bugs 2016-05-10 14:55:42 +02:00
shamanDevel
44899098e2 added dependency resolving and a random number library 2016-05-09 17:43:49 +02:00
shamanDevel
5e098b0493 worked on LWJGL3 support 2016-05-08 17:05:43 +02:00
shamanDevel
a2df82b9e0 implemented a cache for program objects 2016-05-02 21:39:27 +02:00
shamanDevel
22307257e0 added querying of the program binaries and building the programs from these binaries.
TestVertexBufferSharing shows how this is used to build a simple program cache.
2016-05-02 20:57:28 +02:00
shamanDevel
54113f35e0 added alternative versions for kernel launches and resource acquiring that do not return an event. This improves the performance. 2016-05-02 14:21:02 +02:00
shamanDevel
4be6013068 reworked releasing system.
Now one has to either release a native OpenCLObject manually with release() or register it for automatic garbage collection using register().
These changes greatly improve the performance by reducing the load on the OpenCLObjectManager.
2016-05-02 08:30:00 +02:00
shamanDevel
a26e526945 Added an experimental Jocl binding.
Note that Jogamp's Jocl only supports OpenCL1.1, some methods will throw an UnsupportedOperationException.
2016-05-01 18:38:48 +02:00
shamanDevel
7fc7402855 changed author name 2016-04-27 10:30:35 +02:00
shamanDevel
1093c639eb finished documentation 2016-04-27 09:03:45 +02:00
shamanDevel
ee43853ff1 docs, docs, docs 2016-04-25 16:33:10 +02:00
shamanDevel
03282a7c86 added example for vertex buffer sharing 2016-04-24 14:09:09 +02:00
shamanDevel
60f10bb604 renamed DefaultPlatformChooser and moved it to the core, some small fixes 2016-04-23 14:40:48 +02:00
shamanDevel
0c47bf18c9 added memory managing: native resources are now automatically released 2016-04-23 14:18:46 +02:00
shamanDevel
0d003275a7 implemented image sharing and added julia set testcase 2016-04-22 21:12:10 +02:00
shamanDevel
d36c957f5e implemented image operations 2016-04-22 16:11:55 +02:00
shamanDevel
4416295069 started with the image api, refactored buffer 2016-04-22 08:48:37 +02:00
shamanDevel
a6be243db1 refactoring of Context: moved simplifying functions from LwjglContext to Context 2016-04-21 15:05:55 +02:00
shamanDevel
ecda9135ad implemented kernel execution 2016-04-21 09:04:04 +02:00
shamanDevel
6326daa120 implemented program building 2016-04-21 08:31:31 +02:00