MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / cgpu_free_device

Function cgpu_free_device

modules/engine/graphics/src/common/cgpu.c:447–454  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

445}
446
447void cgpu_free_device(CGPUDeviceId device)
448{
449 cgpu_assert(device != CGPU_NULLPTR && "fatal: call on NULL device!");
450 cgpu_assert(device->proc_table_cache->free_device && "free_device Proc Missing!");
451
452 device->proc_table_cache->free_device(device);
453 return;
454}
455
456CGPUQueueId cgpu_get_queue(CGPUDeviceId device, ECGPUQueueType type, uint32_t index)
457{

Callers 15

finalizeMethod · 0.85
shutdownMethod · 0.85
finalizeFunction · 0.85
finalizeFunction · 0.85
ComputeFuncFunction · 0.85
finalizeFunction · 0.85
finalizeFunction · 0.85
finalizeMethod · 0.85
finalizeMethod · 0.85
finalizeFunction · 0.85
finalizeFunction · 0.85
finalizeMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_create_deviceFunction · 0.68