diff options
author | Michael Bien <[email protected]> | 2010-01-22 22:57:28 +0100 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-01-22 22:57:28 +0100 |
commit | e8179f3c0512ac95bfec3c64302eb8e114486ecd (patch) | |
tree | c916f5c85e5527c4dff1c0932cdbcb9b174a2f23 /test/com/mbien | |
parent | ceedf2ac1b1300a12a7b69a31b53787035fe7c13 (diff) |
switched from enum to poji as storage for common compiler options.
Diffstat (limited to 'test/com/mbien')
-rw-r--r-- | test/com/mbien/opencl/CLProgramTest.java | 5 |
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(); |