Accéder au contenu.
Menu Sympa

starpu-devel - [Starpu-devel] support for cudaMemcpyPeer

Objet : Developers list for StarPU

Archives de la liste

[Starpu-devel] support for cudaMemcpyPeer


Chronologique Discussions 
  • From: Hatem Ltaief <hatem.ltaief@kaust.edu.sa>
  • To: "starpu-devel@lists.gforge.inria.fr" <starpu-devel@lists.gforge.inria.fr>
  • Subject: [Starpu-devel] support for cudaMemcpyPeer
  • Date: Sat, 24 Mar 2018 13:22:54 +0000
  • Accept-language: en-GB, en-US
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=hatem.ltaief@kaust.edu.sa; spf=Pass smtp.mailfrom=prvs=4621ba20b2=hatem.ltaief@kaust.edu.sa; spf=None smtp.helo=postmaster@mx08-0025e101.pphosted.com
  • Ironport-phdr: 9a23:hiO/DxNURl5s6LdxL+kl6mtUPXoX/o7sNwtQ0KIMzox0I/39rarrMEGX3/hxlliBBdydt6ofzbKO+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZLebxlGiTanfb9+MAi9oBnMuMURnYZsMLs6xAHTontPdeRWxGdoKkyWkh3h+Mq+/4Nt/jpJtf45+MFOTav1f6IjTbxFFzsmKHw65NfqtRbYUwSC4GYXX3gMnRpJBwjF6wz6Xov0vyDnuOdxxDWWMMvrRr0yRD+s7bpkSAXwhSkHKTA37X3XhMJzgqxcoRKuuxNwzpXOb42JMfpzZKPdcc8ESWdHQ81fVzZBAoS5b4YXDeQOJ/pYoJf4p1ATqxW+GROjBOLxxT9Gm3T72q063P49EQ7Y2QwsBdYOsGjOo9X0KqgSX/u4zKrSwjXedPNWxS3x55bVfRA8u/2MRqh/fNPXxEIyFA3Flk2dpIj4Mz+PyOgBr2qW4/B+We6ylWIrsRx9rzquy8s0l4XFmpgZxk7E+Ch22oo5OMG0RFJhbdOkCJdQuT+VOohqTs4nRmxkpik3xaMYtZO+ZycHypAqyhHaZvGEboeE/BLuWeONLjp5mn1ofq+0iQyo/ki60OL8U9G50FZUoSpBldnBrnUN1hPP5sWEU/dx4lut1SiP2g/N9+1IPV04mbDDK545wr4wkYETsVjdESDrgkn5kKiWdkA89uip7eTofKnmq4eYOoNpkA3yLLgil86lDegmLwQCQXKX9fm+2bDi5UH5Ra9FjvwykqnXqpDaIsEbq7ahAw9PzIYj8A6yAjin3dgGgHUIN0hKdAybg4fyJV3DOPD4Au2jg1uylTdn3fTGPqH7DZXMMHfDnqzsfbVn5E5B0woz0cpT6IxJBbEcOv7zQVX+uMTCDhAlKwy03/rnCNJl24MFRWKAGLWZMLvPsVOR++0gPfeMa5ERuDvmL/gl5uXujWMimVMHcqmp05wXaGq3Hvt4OUmZYHzsgs0AEWgQpAY+Qvbq2xW+VmsZfGq7Rbohoz02Fo+iJYPCXZy2xrOP2z20E9tXYHpHAxaCCz2gI56YUu0UdWeeL9FslhQAVKO9UMku2xa0uwK8yrx9L+OS9DdO5rz5090gx+TPmBR60SB9DsmTmzWNRn15myUMWzY30a5XokVg0UvF3KRlxedRQ48Ar8hVWxs3YMaPh9dxDMr/D1qYL4W5DW2+S9DjOgkfC9c4wtsAeUF4QonwjRnexDbsDrMI0aeCVsVtrvDsmkPpLsM48E7okbE7hgB6EMhGKHa6wKNz6k7IDtyRyhjLp+ORba0ZmRX12iKDwG6J5hEKVR4oAeCdBSpCaxKO9JLh/kPFVKOjBfIsNQ4TkcM=
  • List-archive: <http://lists.gforge.inria.fr/pipermail/starpu-devel/>
  • List-id: "Developers list. For discussion of new features, code changes, etc." <starpu-devel.lists.gforge.inria.fr>

Dear StarPU dev,
StarPU from git branch 1.2 does not detect cudaMemcpyPeer in cuda 9.0.

This cuda function is defined in:
/usr/local/cuda/lib64/libcudart_static.a
000000000003c7f0 T cudaDeviceCanAccessPeer
000000000003c470 T cudaDeviceDisablePeerAccess
000000000003c620 T cudaDeviceEnablePeerAccess
0000000000037820 T cudaMemcpy3DPeer
00000000000482b0 T cudaMemcpy3DPeerAsync
000000000004c010 T cudaMemcpy3DPeerAsync_ptsz
000000000003fac0 T cudaMemcpy3DPeer_ptds
000000000003f2b0 T cudaMemcpyPeer
000000000004bb70 T cudaMemcpyPeerAsync

while StarPU tries to look for it in:
configure:28949: checking for cudaMemcpyPeer
configure:28949: gcc -o conftest -g -O2  -D_GNU_SOURCE  -I/usr/local/cuda/include  -L/usr/local/cuda/lib64 -lcudart -lcublas -lcuda conftest.c -lrt -lm -lpthread  >&5
/tmp/ccNdG8Tq.o: In function `main':
/home/hltaief/codes/starpu/conftest.c:114: undefined reference to `cudaMemcpyPeer'

This is cuda 9.0. Perhaps in earlier versions of cuda, it used to be located there. I can remedy it by adding proper LDFLAGS and LIBS, but wanted to report it.

Thanks!
Hatem





This message and its contents including attachments are intended solely for the original recipient. If you are not the intended recipient or have received this message in error, please notify me immediately and delete this message from your computer system. Any unauthorized use or distribution is prohibited. Please consider the environment before printing this email.



Archives gérées par MHonArc 2.6.19+.

Haut de le page