blob: 61436aa542fb060949b1435f1fb809a17e274c99 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
package com.jogamp.opencl;
import com.jogamp.common.jvm.JNILibLoaderBase;
import com.jogamp.common.os.NativeLibrary;
/**
* Responsible for JOCL lib loading.
* @author Michael Bien
*/
class JOCLJNILibLoader extends JNILibLoaderBase {
/**
* Loads the native binding and returns the OpenCL library for dynamic linking.
*/
static NativeLibrary loadJOCL() {
loadLibrary("jocl", null, true);
return NativeLibrary.open("OpenCL", JOCLJNILibLoader.class.getClassLoader());
}
}
|