| 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 |
no test coverage detected