MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / FuncSetCacheConfig

Method FuncSetCacheConfig

tensorflow/stream_executor/rocm/rocm_driver.cc:384–395  ·  view source on GitHub ↗

static */

Source from the content-addressed store, hash-verified

382}
383
384/* static */ bool GpuDriver::FuncSetCacheConfig(hipFunction_t function,
385 hipFuncCache_t cache_config) {
386 hipError_t res =
387 tensorflow::wrap::hipFuncSetCacheConfig(function, cache_config);
388 if (res != hipSuccess) {
389 LOG(ERROR) << "failed to set ROCM kernel cache config. kernel: " << function
390 << ", config: " << cache_config << ", result: " << ToString(res);
391 return false;
392 }
393
394 return true;
395}
396
397/* static */ port::StatusOr<hipSharedMemConfig>
398GpuDriver::ContextGetSharedMemConfig(GpuContext* context) {

Callers

nothing calls this directly

Calls 1

ToStringFunction · 0.70

Tested by

no test coverage detected