summaryrefslogtreecommitdiffstats
path: root/test/com/mbien/opencl
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2009-11-06 01:51:44 +0100
committerMichael Bien <[email protected]>2009-11-06 01:51:44 +0100
commit6b0a2ca7a6d03b280c018bf9de5b385451399022 (patch)
tree6d5e215f36b48c7b20f18938752084524eb75435 /test/com/mbien/opencl
parent3d8df0c175ff84ac7b42e0ee5f247099b953514a (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/mbien/opencl')
-rw-r--r--test/com/mbien/opencl/HighLevelBindingTest.java4
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();