MCPcopy Create free account
hub / github.com/Ipotrick/Daxa / create_memory

Method create_memory

src/cpp_wrapper.cpp:321–330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

319 /// --- Begin Device ---
320
321 auto Device::create_memory(MemoryBlockInfo const & info) -> MemoryBlock
322 {
323 MemoryBlock ret = {};
324 check_result(daxa_dvc_create_memory(
325 r_cast<daxa_Device>(this->object),
326 r_cast<daxa_MemoryBlockInfo const *>(&info),
327 r_cast<daxa_MemoryBlock *>(&ret)),
328 "failed to create memory block");
329 return ret;
330 }
331
332 void Device::device_memory_report(DeviceMemoryReport & out_report) const
333 {

Callers 3

completeMethod · 0.80

Calls 2

check_resultFunction · 0.85
daxa_dvc_create_memoryFunction · 0.85

Tested by

no test coverage detected