MCPcopy Create free account
hub / github.com/Niko1221/Strata / one_token_self_commit

Function one_token_self_commit

engine/sycl/src/core/verify.cpp:283–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281}
282
283bool one_token_self_commit() {
284#if defined(STRATA_USE_HIP)
285 return false;
286#else
287 static const bool on = [] {
288 const char* v = std::getenv("STRATA_ONE_TOKEN_COMMIT");
289 return v == nullptr || std::atoi(v) != 0;
290 }();
291 return on;
292#endif
293}
294
295// True when the GPU runs under the i915 kernel driver (Arc Alchemist: A310-A770), read from sysfs.
296bool intel_i915_gpu() { return strata::intel_gpu_driver() == "i915"; }

Callers 3

record_windowMethod · 0.70
commitMethod · 0.70
pl_commit_asyncMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected