(MethodReferenceEntry methodReferenceEntry)
| 3191 | } |
| 3192 | |
| 3193 | public static boolean isOpenCLDelegateMethod(MethodReferenceEntry methodReferenceEntry) { |
| 3194 | if (CacheEnabler.areCachesEnabled()) |
| 3195 | return getBoolean(openCLDelegateMethodFlags, methodReferenceEntry); |
| 3196 | boolean isMapped = false; |
| 3197 | for (final Method kernelMethod : Kernel.class.getDeclaredMethods()) { |
| 3198 | if (kernelMethod.isAnnotationPresent(OpenCLDelegate.class)) { |
| 3199 | if (methodReferenceEntry.getNameAndTypeEntry().getNameUTF8Entry().getUTF8().equals(kernelMethod.getName())) { |
| 3200 | |
| 3201 | // well they have the same name ;) |
| 3202 | isMapped = true; |
| 3203 | } |
| 3204 | } |
| 3205 | } |
| 3206 | return (isMapped); |
| 3207 | } |
| 3208 | |
| 3209 | public static boolean usesAtomic32(MethodReferenceEntry methodReferenceEntry) { |
| 3210 | if (CacheEnabler.areCachesEnabled()) |
nothing calls this directly
no test coverage detected