MCPcopy Create free account
hub / github.com/AdaptiveCpp/AdaptiveCpp / get_code_object_impl

Method get_code_object_impl

src/runtime/kernel_cache.cpp:464–469  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

462}
463
464const code_object* kernel_cache::get_code_object_impl(code_object_id id) const {
465 auto it = _code_objects.find(id);
466 if(it == _code_objects.end())
467 return nullptr;
468 return it->second.get();
469}
470
471std::string kernel_cache::get_persistent_cache_file(code_object_id id_of_binary) {
472 using namespace common::filesystem;

Callers

nothing calls this directly

Calls 3

findMethod · 0.45
endMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected