diff options
Diffstat (limited to 'src/com/mbien/opencl/CLDevice.java')
-rw-r--r-- | src/com/mbien/opencl/CLDevice.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/mbien/opencl/CLDevice.java b/src/com/mbien/opencl/CLDevice.java index d6013166..cd569586 100644 --- a/src/com/mbien/opencl/CLDevice.java +++ b/src/com/mbien/opencl/CLDevice.java @@ -746,9 +746,9 @@ public final class CLDevice { */ public static LocalMemType valueOf(int clLocalCacheType) { if(clLocalCacheType == CL_GLOBAL) - return LOCAL; - else if(clLocalCacheType == CL_LOCAL) return GLOBAL; + else if(clLocalCacheType == CL_LOCAL) + return LOCAL; return null; } |