diff options
author | Michael Bien <[email protected]> | 2009-11-06 01:51:44 +0100 |
---|---|---|
committer | Michael Bien <[email protected]> | 2009-11-06 01:51:44 +0100 |
commit | 6b0a2ca7a6d03b280c018bf9de5b385451399022 (patch) | |
tree | 6d5e215f36b48c7b20f18938752084524eb75435 /test/com | |
parent | 3d8df0c175ff84ac7b42e0ee5f247099b953514a (diff) |
added cl_ext header to build - extensions are now included in CL and CLGLI api.
fixed create context codepaths with platform ID as parameter in high level api.
updated test.
Diffstat (limited to 'test/com')
-rw-r--r-- | test/com/mbien/opencl/HighLevelBindingTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/com/mbien/opencl/HighLevelBindingTest.java b/test/com/mbien/opencl/HighLevelBindingTest.java index 4665c27d..e871cf93 100644 --- a/test/com/mbien/opencl/HighLevelBindingTest.java +++ b/test/com/mbien/opencl/HighLevelBindingTest.java @@ -86,8 +86,8 @@ public class HighLevelBindingTest { out.println(" - - - highLevelTest; global memory kernel - - - "); -// CLPlatform[] clPlatforms = CLPlatform.listCLPlatforms(); - CLContext context = CLContext.create(/*clPlatforms[0]*/); + CLPlatform[] clPlatforms = CLPlatform.listCLPlatforms(); + CLContext context = CLContext.create(clPlatforms[0]); CLDevice[] contextDevices = context.getCLDevices(); |