summaryrefslogtreecommitdiffstats
path: root/src/com/mbien/opencl/CLProgram.java
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-02-28 01:19:25 +0100
committerMichael Bien <[email protected]>2010-02-28 01:19:25 +0100
commitf838035d40285b9651868dbd711eb14a5ff92ad2 (patch)
tree165b0cea721194cfe696027894f4607d2b264e65 /src/com/mbien/opencl/CLProgram.java
parentbb92a1504c47073f5d17498607e5be9e79e20532 (diff)
added three missing workgroup info methods in CLKernel.
Diffstat (limited to 'src/com/mbien/opencl/CLProgram.java')
-rw-r--r--src/com/mbien/opencl/CLProgram.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/mbien/opencl/CLProgram.java b/src/com/mbien/opencl/CLProgram.java
index a5d1311c..806383f6 100644
--- a/src/com/mbien/opencl/CLProgram.java
+++ b/src/com/mbien/opencl/CLProgram.java
@@ -506,7 +506,7 @@ public class CLProgram extends CLObject implements CLResource {
/**
* Utility method for defining macros as build options (Returns "-D name=value").
*/
- public static String define(String name, String value) {
+ public static String define(String name, Object value) {
return "-D "+name+"="+value;
}