Implement hipHostFree on HCC path

Dieser Commit ist enthalten in:
Ben Sander committed 2016-03-19 23:25:11 -05:00
1 Ursprung 9941ba0bc6
Commit deb38625ca
2 Dateien geändert
+17 -1

Keine Dateien entsprechen Ihrer Suche

+9
Datei anzeigen
@@ -740,6 +740,15 @@ hipError_t hipFree(void* ptr);
hipError_t hipFreeHost(void* ptr) __attribute__((deprecated("use hipHostFree instead"))) ;
/**
* @brief Free memory allocated by the hcc hip host memory allocation API
*
* @param[in] ptr Pointer to memory to be freed
* @return #hipSuccess, #hipErrorMemoryFree
*/
hipError_t hipHostFree(void* ptr);
/**
* @brief Copy data from src to dst.