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

Method maxThreadsPerBlock

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

Maximum number of threads on each block. @return the maximum thread number.

()

Source from the content-addressed store, hash-verified

184 * @return the maximum thread number.
185 */
186 public long maxThreadsPerBlock() {
187 TVMValue ret = APIInternal.get("runtime.GetDeviceAttr")
188 .pushArg(deviceType)
189 .pushArg(deviceId)
190 .pushArg(1)
191 .invoke();
192 return ((TVMValueLong) ret).value;
193 }
194
195 /**
196 * Number of threads that executes in concurrent.

Callers

nothing calls this directly

Calls 3

getMethod · 0.95
pushArgMethod · 0.80
invokeMethod · 0.65

Tested by

no test coverage detected