Improve error reporting.
use throw with error class.
fix bug when memcpyDefault resolved to D2D copy.
[ROCm/hip commit: 250739666d]
Cette révision appartient à :
1 Parent
6d77b45f88
révision
4900ebb39f
2 fichiers modifiés
+38
-21
Aucun fichier ne correspond à votre recherche
@@ -690,7 +690,6 @@ hipError_t hipFreeHost(void* ptr);
|
||||
* It supports memory from host to device,
|
||||
* device to host, device to device and host to host
|
||||
* The src and dst must not overlap.
|
||||
* TODO: cudaErrorInvalidMemcpyDirection error code is not supported right now, use hipErrorUnknown for now
|
||||
*
|
||||
* @param[out] dst Data being copy to
|
||||
* @param[in] src Data being copy from
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur