From ce0b7353d54301510b74b296f5b7940bdd7056d4 Mon Sep 17 00:00:00 2001 From: Gary Frost <frost.gary@gmail.com> Date: Sun, 10 Jun 2012 00:38:23 +0000 Subject: [PATCH] --- com.amd.aparapi.jni/src/cpp/opencljni.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/com.amd.aparapi.jni/src/cpp/opencljni.cpp b/com.amd.aparapi.jni/src/cpp/opencljni.cpp index dfd06a6a..d816c640 100644 --- a/com.amd.aparapi.jni/src/cpp/opencljni.cpp +++ b/com.amd.aparapi.jni/src/cpp/opencljni.cpp @@ -430,7 +430,7 @@ void putArg(JNIEnv *jenv, cl_context context, cl_kernel kernel, cl_command_queue memset(memBits, ENQUEUED); OpenCLMem::setBits(jenv, memInstance, memBits); // fprintf(stderr, "enqueuing write of arg "); - OpenCLArgDescriptor::describe(jenv, argDef, argIndex); + // OpenCLArgDescriptor::describe(jenv, argDef, argIndex); status = clEnqueueWriteBuffer(commandQueue, mem, CL_FALSE, 0, sizeInBytes, ptr, *eventc, (*eventc)==0?NULL:events, &events[*eventc]); if (status != CL_SUCCESS) { fprintf(stderr, "error enqueuing write %s!\n", CLHelper::errString(status)); @@ -523,7 +523,7 @@ void getArg(JNIEnv *jenv, cl_context context, cl_command_queue commandQueue, cl_ fprintf(stderr, "about to enqueu read eventc = %d!\n", *eventc); } // fprintf(stderr, "enqueuing read of arg "); - OpenCLArgDescriptor::describe(jenv, argDef, argIndex); + // OpenCLArgDescriptor::describe(jenv, argDef, argIndex); cl_int status = clEnqueueReadBuffer(commandQueue, mem, CL_FALSE, 0, sizeInBytes, ptr ,*eventc, (*eventc)==0?NULL:events, &events[*eventc]); if (status != CL_SUCCESS) { fprintf(stderr, "error enqueuing read %s!\n", CLHelper::errString(status)); -- GitLab