MCPcopy Create free account
hub / github.com/ROCm/clr / GetFunctionLibrary

Method GetFunctionLibrary

hipamd/src/hip_platform.hpp:133–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131 }
132
133 inline bool GetFunctionLibrary(const hipKernel_t f, hipLibrary_t* lib) {
134 amd::ScopedLock lock(lock_);
135 if (library_functions_.find(f) != library_functions_.end()) {
136 *lib = library_functions_[f];
137 return true;
138 }
139 return false;
140 }
141
142 private:
143 // Dynamic Code Object map, keyin module to get the corresponding object

Callers 2

hipKernelGetLibraryFunction · 0.80
hipKernelGetNameFunction · 0.80

Calls 1

endMethod · 0.45

Tested by

no test coverage detected