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
136c0ae3
Commit
136c0ae3
authored
Feb 17, 2023
by
PedramAlizadeh
Browse files
converting to Pitchfork layout standard
parent
c72a105f
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
20 additions
and
11 deletions
+20
-11
Makefile
Makefile
+6
-11
examples/example.cfg
examples/example.cfg
+0
-0
src/Makefile
src/Makefile
+14
-0
src/TransferBench.cpp
src/TransferBench.cpp
+0
-0
src/include/EnvVars.hpp
src/include/EnvVars.hpp
+0
-0
src/include/GetClosestNumaNode.hpp
src/include/GetClosestNumaNode.hpp
+0
-0
src/include/Kernels.hpp
src/include/Kernels.hpp
+0
-0
src/include/TransferBench.hpp
src/include/TransferBench.hpp
+0
-0
No files found.
Makefile
View file @
136c0ae3
#
Copyright (c) 2019-2023 Advanced Micro Devices, Inc. All rights reserved.
ROCM_PATH
?=
/opt/rocm
HIPCC
=
$(ROCM_PATH)
/bin/hipcc
#
# Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved.
#
EXE
=
TransferBench
CXXFLAGS
=
-O3
-I
.
-I
$(ROCM_PATH)
/hsa/include
-lnuma
-L
$(ROCM_PATH)
/hsa/lib
-lhsa-runtime64
all
:
$(EXE)
$(EXE)
:
$(EXE).cpp $(shell find -regex ".*
\.\h
pp")
$(HIPCC)
$(CXXFLAGS)
$<
-o
$@
all
:
cd
src
;
make
clean
:
rm
-f
*
.o
$(EXE)
cd
src
;
make clean
example.cfg
→
examples/
example.cfg
View file @
136c0ae3
File moved
src/Makefile
0 → 100644
View file @
136c0ae3
# Copyright (c) 2019-2023 Advanced Micro Devices, Inc. All rights reserved.
ROCM_PATH
?=
/opt/rocm
HIPCC
=
$(ROCM_PATH)
/bin/hipcc
EXE
=
TransferBench
CXXFLAGS
=
-O3
-I
.
-Iinclude
-I
$(ROCM_PATH)
/hsa/include
-lnuma
-L
$(ROCM_PATH)
/hsa/lib
-lhsa-runtime64
all
:
$(EXE)
$(EXE)
:
$(EXE).cpp $(shell find -regex ".*
\.\h
pp")
$(HIPCC)
$(CXXFLAGS)
$<
-o
../
$@
clean
:
rm
-f
*
.o ../
$(EXE)
TransferBench.cpp
→
src/
TransferBench.cpp
View file @
136c0ae3
File moved
EnvVars.hpp
→
src/include/
EnvVars.hpp
View file @
136c0ae3
File moved
GetClosestNumaNode.hpp
→
src/include/
GetClosestNumaNode.hpp
View file @
136c0ae3
File moved
Kernels.hpp
→
src/include/
Kernels.hpp
View file @
136c0ae3
File moved
TransferBench.hpp
→
src/include/
TransferBench.hpp
View file @
136c0ae3
File moved
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