Skip to content

Commit 98fb3f4

Browse files
committed
JavaCL: add CLPlatform.unloadPlatformCompiler() (already deprecated in 1.2)
1 parent d7f50cf commit 98fb3f4

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎Core/src/main/velocity/com/nativelibs4java/opencl/CLPlatform.java‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,4 +457,13 @@ public boolean isGLSharingSupported() {
457457
return hasExtension("cl_khr_gl_sharing") || hasExtension("cl_APPLE_gl_sharing");
458458
}
459459

460+
/**
461+
* Allows the implementation to release the resources allocated by the OpenCL compiler for this platform.
462+
* @deprecated This OpenCL 1.1 feature was deprecated in OpenCL 1.2: use with caution.
463+
*/
464+
@Deprecated
465+
public void unloadPlatformCompiler() {
466+
return clUnloadPlatformCompiler(getEntity());
467+
}
468+
460469
}

0 commit comments

Comments
 (0)