diff --git a/com.amd.aparapi.jni/src/cpp/opencljni.cpp b/com.amd.aparapi.jni/src/cpp/opencljni.cpp index dfd06a6a79934ad4b69479c062029de4649ac8ab..d816c640d7212b2199046ae5f35e92c7cbb07f51 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));