summaryrefslogtreecommitdiffstats
path: root/resources/clImplCustomCode.c
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2009-10-16 00:07:36 +0200
committerMichael Bien <[email protected]>2009-10-16 00:07:36 +0200
commit41b12ea8ec6d900c1fd5c17e74a46c6f3f8c8448 (patch)
treee4eb20323dfbc41fdc87b87a5bd28aeaec178171 /resources/clImplCustomCode.c
parenta69ac7eb33e3e963bacf2d47d92875d8e8176d1d (diff)
fixed clBuildProgram, finished VectorAdd unit test.
Diffstat (limited to 'resources/clImplCustomCode.c')
-rw-r--r--resources/clImplCustomCode.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/resources/clImplCustomCode.c b/resources/clImplCustomCode.c
index 9c87c24a..41e9f159 100644
--- a/resources/clImplCustomCode.c
+++ b/resources/clImplCustomCode.c
@@ -110,6 +110,14 @@ Java_com_mbien_opencl_impl_CLImpl_clBuildProgram0(JNIEnv *env, jobject _unused,
if (deviceList != NULL) {
_deviceListPtr = (void *) (((char*) (*env)->GetPrimitiveArrayCritical(env, deviceList, NULL)) + offset);
}
+
+/*
+ printf("---------------------------------------------------------------------------\n");
+ printf("deviceList: %d\n", _deviceListPtr);
+ printf("_strchars_options: %d\n", _strchars_options);
+ printf("deviceCount: %d\n", deviceCount);
+ printf("---------------------------------------------------------------------------\n");
+*/
// TODO payload, callback...
_res = clBuildProgram((cl_program)program, (cl_uint)deviceCount, _deviceListPtr, _strchars_options, NULL, NULL);