| 379 | } |
| 380 | |
| 381 | bool GpuExecutor::UnloadModule(ModuleHandle module_handle) { |
| 382 | const char *gpu_binary = reinterpret_cast<const char *>(module_handle.id()); |
| 383 | absl::MutexLock lock{&in_memory_modules_mu_}; |
| 384 | return UnloadGpuBinary(gpu_binary); |
| 385 | } |
| 386 | |
| 387 | bool GpuExecutor::GetKernelMetadata(GpuKernel* cuda_kernel, |
| 388 | KernelMetadata* kernel_metadata) { |