Skip to content

Commit 2af4ebc

Browse files
committed
Fix a number of javadoc errors in OpenCL Core classes CLPlatform, CLProgram, and JavaCL.
1 parent b049ffe commit 2af4ebc

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ Comparable extractValue(CLDevice device) {
233233
}
234234
},
235235
/**
236-
* Prefer devices with the greatest variety of supported image formats (see {@link CLContext#getSupportedImageFormats() })
236+
* Prefer devices with the greatest variety of supported image formats (see {@link CLContext#getSupportedImageFormats(CLMem.Flags, CLMem.ObjectType) })
237237
*/
238238
MostImageFormats {
239239
Comparable extractValue(CLDevice device) {

Core/src/main/java/com/nativelibs4java/opencl/CLProgram.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@
105105
*
106106
* A program can be compiled on the fly (costly) but its binaries can be stored and
107107
* loaded back in subsequent executions to avoid recompilation.<br>
108-
* By default, program binaries are automatically cached on stable platforms (which currently exclude ATI Stream), but the caching can be forced on/off with * see {@link CLContext#setCached(boolean) }.<br>
108+
* By default, program binaries are automatically cached on stable platforms (which currently exclude ATI Stream),
109+
* but the caching can be forced on/off with * see {@link CLContext#setCacheBinaries(boolean) }.<br>
109110
* To create a program from sources, please use see {@link CLContext#createProgram(java.lang.String[]) }
110111
* @author Olivier Chafik
111112
*/

Core/src/main/java/com/nativelibs4java/opencl/JavaCL.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,8 @@ public static CLContext createBestContext() {
238238
}
239239

240240
/**
241-
* Creates an OpenCL context with the "best" device based on the comparison of the provided prioritized device feature (see {@link JavaCL#getBestDevice(CLPlatform.DeviceFeature) })
241+
* Creates an OpenCL context with the "best" device based on the comparison of the provided
242+
* prioritized device feature (see {@link JavaCL#getBestDevice(CLPlatform.DeviceFeature...) })
242243
*/
243244
public static CLContext createBestContext(CLPlatform.DeviceFeature... preferredFeatures) {
244245
CLDevice device = getBestDevice(preferredFeatures);

0 commit comments

Comments
 (0)