MCPcopy Index your code
hub / github.com/apache/tvm / opencl

Method opencl

jvm/core/src/main/java/org/apache/tvm/Device.java:97–99  ·  view source on GitHub ↗

Construct a OpenCL device. @param devId The device id @return The created device

(int devId)

Source from the content-addressed store, hash-verified

95 * @return The created device
96 */
97 public static Device opencl(int devId) {
98 return new Device(kDLOpenCL, devId);
99 }
100
101 public static Device opencl() {
102 return opencl(0);

Callers 4

clMethod · 0.95
checkMethod · 0.80
test_texture_copyFunction · 0.80

Calls

no outgoing calls

Tested by 2

test_texture_copyFunction · 0.64