Merge branch 'gdrcopy' into 'master'
NVIDIA GDRCopy See merge request Pmodules/buildblocks!192
This commit is contained in:
13
Libraries/GDRCopy/build
Executable file
13
Libraries/GDRCopy/build
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
pbuild::set_download_url "https://github.com/NVIDIA/gdrcopy/archive/v${V_MAJOR}.${V_MINOR}.tar.gz"
|
||||
pbuild::add_to_group 'Libraries'
|
||||
|
||||
pbuild::install_docfiles README.md CHANGELOG.md LICENSE
|
||||
|
||||
pbuild::compile_in_sourcetree
|
||||
|
||||
pbuild::install() {
|
||||
PKG_CONFIG_PATH="${PREFIX}" make prefix="${PREFIX}" CUDA="${CUDA_HOME}" all install
|
||||
}
|
||||
|
||||
1
Libraries/GDRCopy/files/variants.merlin6
Normal file
1
Libraries/GDRCopy/files/variants.merlin6
Normal file
@@ -0,0 +1 @@
|
||||
GDRCopy/2.2.0 unstable cuda/11.0.3
|
||||
23
Libraries/GDRCopy/modulefile
Normal file
23
Libraries/GDRCopy/modulefile
Normal file
@@ -0,0 +1,23 @@
|
||||
#%Module1.0
|
||||
|
||||
module-whatis "NVIDIA GDRCopy"
|
||||
module-url "https://github.com/NVIDIA/gdrcopy"
|
||||
module-license "$PREFIX/share/doc/GDRCopy/LICENSE"
|
||||
module-maintainer "Marc Caubet Serrabou <marc.caubet@psi.ch>"
|
||||
|
||||
module-help "
|
||||
GDR COPY is a fast copy library from NVIDIA, used to transfer files
|
||||
between the host and the GPU. Communication libraries (MVAPICH2, UCX)
|
||||
can take advantage of GDRCopy. if available on the systems.
|
||||
|
||||
While GPUDirect RDMA is meant for direct access to GPU memory from
|
||||
third-party devices, it is possible to use these same APIs to create
|
||||
perfectly valid CPU mappings of the GPU memory.
|
||||
|
||||
The advantage of a CPU driven copy is the very small overhead involved.
|
||||
That might be useful when low latencies are required.
|
||||
|
||||
To use it, please check whether the GDR COPY module is loaded on the
|
||||
involed machines.
|
||||
# lsmod | grep gdrdrv
|
||||
"
|
||||
Reference in New Issue
Block a user