summaryrefslogtreecommitdiffstats
path: root/test/com
diff options
context:
space:
mode:
Diffstat (limited to 'test/com')
-rw-r--r--test/com/mbien/opencl/CLProgramTest.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/com/mbien/opencl/CLProgramTest.java b/test/com/mbien/opencl/CLProgramTest.java
index bc095a9a..52aebec4 100644
--- a/test/com/mbien/opencl/CLProgramTest.java
+++ b/test/com/mbien/opencl/CLProgramTest.java
@@ -6,7 +6,7 @@ import org.junit.Test;
import static org.junit.Assert.*;
import static java.lang.System.*;
-import static com.sun.gluegen.runtime.BufferFactory.*;
+import static com.mbien.opencl.CLProgram.CompilerOptions.*;
/**
*
@@ -62,7 +62,8 @@ public class CLProgramTest {
out.println(" - - - CLProgramTest; down-/upload binaries test - - - ");
CLContext context = CLContext.create();
- CLProgram program = context.createProgram(getClass().getResourceAsStream("testkernels.cl")).build();
+ CLProgram program = context.createProgram(getClass().getResourceAsStream("testkernels.cl"))
+ .build(ENABLE_MAD, WARNINGS_ARE_ERRORS);
// optain binaries
Map<CLDevice, byte[]> binaries = program.getBinaries();