Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
one
TransferBench
Commits
42b7d85b
Unverified
Commit
42b7d85b
authored
Oct 06, 2025
by
Mustafa Abduljabbar
Committed by
GitHub
Oct 06, 2025
Browse files
Check nvidia-smi output instead of just searching nvcc bin in makefile (#202)
parent
a824bc1b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Makefile
Makefile
+3
-2
No files found.
Makefile
View file @
42b7d85b
...
@@ -16,8 +16,8 @@ GPU_TARGETS ?= native
...
@@ -16,8 +16,8 @@ GPU_TARGETS ?= native
DEBUG
?=
0
DEBUG
?=
0
ifeq
($(filter clean,$(MAKECMDGOALS)),)
ifeq
($(filter clean,$(MAKECMDGOALS)),)
# Compile TransferBenchCuda if nvcc detected
# Compile TransferBenchCuda if
nvidia-smi returns successfully and
nvcc detected
ifeq
("$(shell test -e $(NVCC) && echo found)", "found")
ifeq
("$(shell
nvidia-smi > /dev/null 2>&1 &&
test -e $(NVCC) && echo found)", "found")
EXE
=
TransferBenchCuda
EXE
=
TransferBenchCuda
CXX
=
$(NVCC)
CXX
=
$(NVCC)
else
else
...
@@ -47,6 +47,7 @@ ifeq ($(filter clean,$(MAKECMDGOALS)),)
...
@@ -47,6 +47,7 @@ ifeq ($(filter clean,$(MAKECMDGOALS)),)
LDFLAGS
+=
-lpthread
LDFLAGS
+=
-lpthread
NIC_ENABLED
=
0
# Compile RDMA executor if
# Compile RDMA executor if
# 1) DISABLE_NIC_EXEC is not set to 1
# 1) DISABLE_NIC_EXEC is not set to 1
# 2) IBVerbs is found in the Dynamic Linker cache
# 2) IBVerbs is found in the Dynamic Linker cache
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment