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

Method toDeviceAsync

apps/utils/image_buffer.cpp:75–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73 }
74
75 void ImageBuffer::toDeviceAsync()
76 {
77 if (hostPtr != devPtr)
78 buffer.writeAsync(0, byteSize, hostPtr);
79 }
80
81 std::shared_ptr<ImageBuffer> ImageBuffer::clone() const
82 {

Callers 1

runBenchmarkFunction · 0.80

Calls 1

writeAsyncMethod · 0.80

Tested by

no test coverage detected