MCPcopy Create free account
hub / github.com/RenderKit/oidn / toDevice

Method toDevice

apps/utils/image_buffer.cpp:69–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67 }
68
69 void ImageBuffer::toDevice()
70 {
71 if (hostPtr != devPtr)
72 buffer.write(0, byteSize, hostPtr);
73 }
74
75 void ImageBuffer::toDeviceAsync()
76 {

Callers 2

initImageFunction · 0.45
mainFunction · 0.45

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected