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

Method dump_binary_to_file

include/floor/device/device_buffer.hpp:176–178  ·  view source on GitHub ↗

for debugging purposes: dumps the binary content of this buffer into a file

Source from the content-addressed store, hash-verified

174
175 //! for debugging purposes: dumps the binary content of this buffer into a file
176 bool dump_binary_to_file(const device_queue& cqueue, const std::string& file_name) {
177 return device_memory::dump_binary_to_file(*this, size, cqueue, file_name);
178 }
179
180protected:
181 //! constructs a buffer of the specified size, using the host pointer as specified by the flags

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected