MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / free

Method free

samples/python/common.py:176–178  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

174 return self.__str__()
175
176 def free(self):
177 cuda_call(cudart.cudaFree(self.device))
178 cuda_call(cudart.cudaFreeHost(self.host.ctypes.data))
179
180
181# Allocates all buffers required for an engine, i.e. host/device inputs/outputs.

Callers 1

free_buffersFunction · 0.45

Calls 1

cuda_callFunction · 0.85

Tested by

no test coverage detected