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

Method UnloadModule

tensorflow/stream_executor/cuda/cuda_driver.cc:713–721  ·  view source on GitHub ↗

static */

Source from the content-addressed store, hash-verified

711}
712
713/* static */ void GpuDriver::UnloadModule(GpuContext* context,
714 CUmodule module) {
715 ScopedActivateContext activated{context};
716 CUresult res = cuModuleUnload(module);
717 if (res != CUDA_SUCCESS) {
718 LOG(ERROR) << "failed to unload module " << module
719 << "; leaking: " << ToString(res);
720 }
721}
722
723/* static */ port::StatusOr<CUdevice> GpuDriver::DeviceFromContext(
724 GpuContext* context) {

Callers

nothing calls this directly

Calls 1

ToStringFunction · 0.70

Tested by

no test coverage detected