From 6b0a2ca7a6d03b280c018bf9de5b385451399022 Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Fri, 6 Nov 2009 01:51:44 +0100 Subject: 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. --- test/com/mbien/opencl/HighLevelBindingTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/com') 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(); -- cgit v1.2.3