MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / GetAPI

Method GetAPI

src/opr/impl/nvof/NvOFCuda.h:43–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 ~NvOFCudaAPI();
42
43 NV_OF_CUDA_API_FUNCTION_LIST* GetAPI() {
44 std::lock_guard<std::mutex> lock(m_lock);
45 return m_ofAPI.get();
46 }
47
48 CUcontext GetCudaContext() { return m_cuContext; }
49 NvOFHandle GetHandle() { return m_hOF; }

Callers 8

DoGetOutputGridSizesMethod · 0.80
DoExecuteMethod · 0.80
DoInitMethod · 0.80
_QuerySupportCapsMethod · 0.80
NvOFBufferCudaArrayMethod · 0.80
~NvOFBufferCudaArrayMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected