MCPcopy Create free account
hub / github.com/a2flo/floor / get_instance

Method get_instance

compute/host/elf_binary.cpp:537–542  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

535}
536
537elf_binary::instance_t* elf_binary::get_instance(const uint32_t instance_idx) {
538 if (!info || !valid || instance_idx >= info->instances.size()) {
539 return nullptr;
540 }
541 return &info->instances[instance_idx].external_instance;
542}
543
544FLOOR_PUSH_WARNINGS()
545FLOOR_IGNORE_WARNING(cast-align)

Callers 1

execute_deviceMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected