MCPcopy Create free account
hub / github.com/NVIDIA/cuda-samples / dumpFile

Function dumpFile

cpp/5_Domain_Specific/marchingCubes/marchingCubes.cpp:329–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327}
328
329void dumpFile(void *dData, int data_bytes, const char *file_name)
330{
331 void *hData = malloc(data_bytes);
332 checkCudaErrors(cudaMemcpy(hData, dData, data_bytes, cudaMemcpyDeviceToHost));
333 sdkDumpBin(hData, data_bytes, file_name);
334 free(hData);
335}
336
337template <class T> void dumpBuffer(T *d_buffer, int nelements, int size_element)
338{

Callers 1

runAutoTestFunction · 0.85

Calls 1

sdkDumpBinFunction · 0.85

Tested by

no test coverage detected