MCPcopy Create free account
hub / github.com/Syncleus/aparapi / OpenCLAdapter

Class OpenCLAdapter

src/main/java/com/aparapi/opencl/OpenCLAdapter.java:22–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20import java.util.List;
21
22public class OpenCLAdapter<T> implements OpenCL<T>{
23
24 @SuppressWarnings("unchecked") public T put(byte[] array) {
25 return ((T) this);
26 }
27
28 @SuppressWarnings("unchecked") public T get(byte[] array) {
29 return ((T) this);
30 }
31
32 @SuppressWarnings("unchecked") public T put(float[] array) {
33 return ((T) this);
34 }
35
36 @SuppressWarnings("unchecked") public T put(int[] array) {
37 return ((T) this);
38 }
39
40 @SuppressWarnings("unchecked") public T put(short[] array) {
41 return ((T) this);
42 }
43
44 @SuppressWarnings("unchecked") public T put(char[] array) {
45 return ((T) this);
46 }
47
48 @SuppressWarnings("unchecked") public T put(boolean[] array) {
49 return ((T) this);
50 }
51
52 @SuppressWarnings("unchecked") public T put(double[] array) {
53 return ((T) this);
54 }
55
56 @SuppressWarnings("unchecked") public T get(float[] array) {
57 return ((T) this);
58 }
59
60 @SuppressWarnings("unchecked") public T get(int[] array) {
61 return ((T) this);
62 }
63
64 @SuppressWarnings("unchecked") public T get(short[] array) {
65 return ((T) this);
66 }
67
68 @SuppressWarnings("unchecked") public T get(char[] array) {
69 return ((T) this);
70 }
71
72 @SuppressWarnings("unchecked") public T get(boolean[] array) {
73 return ((T) this);
74 }
75
76 @SuppressWarnings("unchecked") public T get(double[] array) {
77 return ((T) this);
78 }
79

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected