forked from easybuilders/easybuild-easyconfigs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCUDA-Samples-11.3-GCC-10.3.0-CUDA-11.3.1.eb
More file actions
57 lines (46 loc) · 2.03 KB
/
CUDA-Samples-11.3-GCC-10.3.0-CUDA-11.3.1.eb
File metadata and controls
57 lines (46 loc) · 2.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
easyblock = 'MakeCp'
name = 'CUDA-Samples'
version = '11.3'
versionsuffix = '-CUDA-%(cudaver)s'
homepage = 'https://github.com/NVIDIA/cuda-samples'
description = "Samples for CUDA Developers which demonstrates features in CUDA Toolkit"
toolchain = {'name': 'GCC', 'version': '10.3.0'}
source_urls = ['https://github.com/NVIDIA/cuda-samples/archive/']
sources = ['v%(version)s.tar.gz']
patches = ['cuda-samples-11.3_multiple-sms.patch']
checksums = [
{'v11.3.tar.gz': '2bee5f7c89347259aaab75aa6df6e10375059bdbbaf04cc7936f5db7d54fa3ac'},
{'cuda-samples-11.3_multiple-sms.patch': 'b31613f4160456f0d0abf82999c7fb7eee781f0efadc8b9bbb5a02ef0f37e21d'},
]
dependencies = [
('CUDA', '11.3.1', '', SYSTEM),
]
# Get rid of pre-built Windows DLLs and only build deviceQuery for now.
prebuildopts = "rm -r bin/win64 && "
# Filter out samples that require extensive dependencies.
local_filters = "Samples/EGLStream_CUDA_Interop/Makefile "
local_filters += "Samples/boxFilterNPP/Makefile "
local_filters += "Samples/cannyEdgeDetectorNPP/Makefile "
local_filters += "Samples/cudaNvSci/Makefile "
local_filters += "Samples/cudaNvSciNvMedia/Makefile "
local_filters += "Samples/simpleGL/Makefile "
local_filters += "Samples/warpAggregatedAtomicsCG/Makefile "
local_filters += "Samples/simpleVulkan/Makefile "
local_filters += "Samples/simpleVulkanMMAP/Makefile "
local_filters += "Samples/streamOrderedAllocationIPC/Makefile "
local_filters += "Samples/vulkanImageCUDA/Makefile"
buildopts = "HOST_COMPILER=g++ SMS='%%(cuda_cc_space_sep_no_period)s' FILTER_OUT='%s'" % local_filters
files_to_copy = [
(['bin/%s/linux/release/*' % ARCH], 'bin'),
'LICENSE',
]
local_binaries = ['deviceQuery', 'matrixMul', 'bandwidthTest', 'cudaOpenMP']
# Only paths are used for sanity checks.
# Commands may fail due to missing compatibility libraries that might be needed
# to be able to use this specific CUDA version in combination with the available
# NVIDIA drivers.
sanity_check_paths = {
'files': ['bin/%s' % x for x in local_binaries],
'dirs': [],
}
moduleclass = 'lang'