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

Method unload

src/runtime/kernel_cache.cpp:453–457  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

451}
452
453void kernel_cache::unload() {
454 std::lock_guard<std::mutex> lock{_mutex};
455
456 _code_objects.clear();
457}
458
459const code_object* kernel_cache::get_code_object(code_object_id id) const {
460 std::lock_guard<std::mutex> lock{_mutex};

Callers 1

~backend_managerMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected