Construct a OpenCL device. @param devId The device id @return The created device
(int devId)
| 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); |
no outgoing calls