Skip to content
Snippets Groups Projects
Commit ff63267e authored by Jeffrey Phillips Freeman's avatar Jeffrey Phillips Freeman :boom:
Browse files

Fixed a bug introduced in this pull request, wouldn't compile.

parent 210baa80
No related branches found
No related tags found
No related merge requests found
...@@ -10,7 +10,7 @@ JNIContext::JNIContext(JNIEnv *jenv, jobject _kernelObject, jobject _openCLDevic ...@@ -10,7 +10,7 @@ JNIContext::JNIContext(JNIEnv *jenv, jobject _kernelObject, jobject _openCLDevic
profileBaseTime(0), profileBaseTime(0),
passes(0), passes(0),
exec(NULL), exec(NULL),
deviceType(((flags&com_amd_aparapi_internal_jni_KernelRunnerJNI_JNI_FLAG_USE_GPU)==com_amd_aparapi_internal_jni_KernelRunnerJNI_JNI_FLAG_USE_GPU)?CL_DEVICE_TYPE_GPU:CL_DEVICE_TYPE_CPU), deviceType(((flags&com_aparapi_internal_jni_KernelRunnerJNI_JNI_FLAG_USE_GPU)==com_aparapi_internal_jni_KernelRunnerJNI_JNI_FLAG_USE_GPU)?CL_DEVICE_TYPE_GPU:CL_DEVICE_TYPE_CPU),
profileFile(NULL), profileFile(NULL),
valid(JNI_FALSE){ valid(JNI_FALSE){
if (flags&com_aparapi_internal_jni_KernelRunnerJNI_JNI_FLAG_USE_ACC) if (flags&com_aparapi_internal_jni_KernelRunnerJNI_JNI_FLAG_USE_ACC)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment