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

Method findSymbol

rocclr/platform/program.cpp:83–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83const Symbol* Program::findSymbol(const char* kernelName) const {
84 // avoid seg. fault if the program has not built yet
85 if (symbolTable_ == NULL) {
86 return NULL;
87 }
88
89 const auto it = symbolTable_->find(kernelName);
90 return (it == symbolTable_->cend()) ? NULL : &it->second;
91}
92
93int32_t Program::addDeviceProgram(Device& device, const void* image, size_t length, bool make_copy,
94 amd::option::Options* options, const amd::Program* same_prog,

Callers 5

runInitFiniKernelMethod · 0.80
createProgramMethod · 0.80
createProgramMethod · 0.80
cl_program.cppFile · 0.80
DeviceFuncMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected