Explorar o código

TODO to fix memcpy3DPeer

Samuel Thibault %!s(int64=13) %!d(string=hai) anos
pai
achega
1bcc606097
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/datawizard/interfaces/matrix_interface.c

+ 1 - 1
src/datawizard/interfaces/matrix_interface.c

@@ -426,7 +426,7 @@ static int copy_cuda_common(void *src_interface, unsigned src_node STARPU_ATTRIB
 	return 0;
 }
 
-/* XXX this is broken : we need to find a way to fix that ! */
+/* XXX this is broken : We need to properly call cudaDeviceEnablePeerAccess(), and avoid crossing NUMA nodes... */
 #ifdef NO_STRIDE
 static int copy_cuda_peer(void *src_interface, unsigned src_node STARPU_ATTRIBUTE_UNUSED, void *dst_interface, unsigned dst_node STARPU_ATTRIBUTE_UNUSED, int is_async, cudaStream_t stream)
 {