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
e047656f
Unverified
Commit
e047656f
authored
Nov 22, 2023
by
gilbertlee-amd
Committed by
GitHub
Nov 22, 2023
Browse files
v1.35 - Adding USE_FINE_GRAIN to a2a preset (#66)
parent
9576c597
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
3 deletions
+10
-3
CHANGELOG.md
CHANGELOG.md
+5
-0
src/TransferBench.cpp
src/TransferBench.cpp
+2
-2
src/include/EnvVars.hpp
src/include/EnvVars.hpp
+3
-1
No files found.
CHANGELOG.md
View file @
e047656f
...
@@ -3,6 +3,11 @@
...
@@ -3,6 +3,11 @@
Documentation for TransferBench is available at
Documentation for TransferBench is available at
[
https://rocm.docs.amd.com/projects/TransferBench
](
https://rocm.docs.amd.com/projects/TransferBench
)
.
[
https://rocm.docs.amd.com/projects/TransferBench
](
https://rocm.docs.amd.com/projects/TransferBench
)
.
## v1.35
### Additions
*
USE_FINE_GRAIN also applies to a2a preset
## v1.34
## v1.34
...
...
src/TransferBench.cpp
View file @
e047656f
...
@@ -1876,8 +1876,8 @@ void RunAllToAllBenchmark(EnvVars const& ev, size_t const numBytesPerTransfer, i
...
@@ -1876,8 +1876,8 @@ void RunAllToAllBenchmark(EnvVars const& ev, size_t const numBytesPerTransfer, i
transfer
.
numSrcs
=
1
;
transfer
.
numSrcs
=
1
;
transfer
.
numDsts
=
1
;
transfer
.
numDsts
=
1
;
transfer
.
exeType
=
EXE_GPU_GFX
;
transfer
.
exeType
=
EXE_GPU_GFX
;
transfer
.
srcType
.
resize
(
1
,
MEM_GPU
);
transfer
.
srcType
.
resize
(
1
,
ev
.
useFineGrain
?
MEM_GPU_FINE
:
MEM_GPU
);
transfer
.
dstType
.
resize
(
1
,
MEM_GPU
);
transfer
.
dstType
.
resize
(
1
,
ev
.
useFineGrain
?
MEM_GPU_FINE
:
MEM_GPU
);
transfer
.
srcIndex
.
resize
(
1
);
transfer
.
srcIndex
.
resize
(
1
);
transfer
.
dstIndex
.
resize
(
1
);
transfer
.
dstIndex
.
resize
(
1
);
...
...
src/include/EnvVars.hpp
View file @
e047656f
...
@@ -29,7 +29,7 @@ THE SOFTWARE.
...
@@ -29,7 +29,7 @@ THE SOFTWARE.
#include "Compatibility.hpp"
#include "Compatibility.hpp"
#include "Kernels.hpp"
#include "Kernels.hpp"
#define TB_VERSION "1.3
4
"
#define TB_VERSION "1.3
5
"
extern
char
const
MemTypeStr
[];
extern
char
const
MemTypeStr
[];
extern
char
const
ExeTypeStr
[];
extern
char
const
ExeTypeStr
[];
...
@@ -643,6 +643,8 @@ public:
...
@@ -643,6 +643,8 @@ public:
printf
(
"[AllToAll Related]
\n
"
);
printf
(
"[AllToAll Related]
\n
"
);
PRINT_EV
(
"A2A_DIRECT"
,
a2aDirect
,
PRINT_EV
(
"A2A_DIRECT"
,
a2aDirect
,
std
::
string
(
a2aDirect
?
"Only using direct links"
:
"Full all-to-all"
));
std
::
string
(
a2aDirect
?
"Only using direct links"
:
"Full all-to-all"
));
PRINT_EV
(
"USE_FINE_GRAIN"
,
useFineGrain
,
std
::
string
(
"Using "
)
+
(
useFineGrain
?
"fine"
:
"coarse"
)
+
"-grained memory"
);
PRINT_EV
(
"USE_REMOTE_READ"
,
useRemoteRead
,
PRINT_EV
(
"USE_REMOTE_READ"
,
useRemoteRead
,
std
::
string
(
"Using "
)
+
(
useRemoteRead
?
"DST"
:
"SRC"
)
+
" as executor"
);
std
::
string
(
"Using "
)
+
(
useRemoteRead
?
"DST"
:
"SRC"
)
+
" as executor"
);
...
...
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