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
d32b88fe
Unverified
Commit
d32b88fe
authored
Jul 19, 2023
by
gilbertlee-amd
Committed by
GitHub
Jul 19, 2023
Browse files
Fixing #SubExec bug in P2PBenchmark (#47)
parent
0bdcd635
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
CHANGELOG.md
CHANGELOG.md
+4
-0
src/TransferBench.cpp
src/TransferBench.cpp
+1
-1
src/include/EnvVars.hpp
src/include/EnvVars.hpp
+1
-1
No files found.
CHANGELOG.md
View file @
d32b88fe
# Changelog for TransferBench
## v1.25
### Fixed
-
Fixed bug in P2P bidirectional benchmark using incorrect number of subExecutors for CPU
<->
GPU tests
## v1.24
### Added
-
New All-To-All GPU benchmark accessed by preset "a2a"
...
...
src/TransferBench.cpp
View file @
d32b88fe
...
...
@@ -1508,7 +1508,7 @@ double GetPeakBandwidth(EnvVars const& ev, size_t const N,
transfers
[
0
].
exeIndex
=
(
ev
.
useRemoteRead
?
dstIndex
:
srcIndex
);
transfers
[
1
].
exeIndex
=
(
ev
.
useRemoteRead
?
srcIndex
:
dstIndex
);
transfers
[
0
].
numSubExecs
=
IsGpuType
(
transfers
[
0
].
exeType
)
?
ev
.
numGpuSubExecs
:
ev
.
numCpuSubExecs
;
transfers
[
1
].
numSubExecs
=
IsGpuType
(
transfers
[
0
].
exeType
)
?
ev
.
numGpuSubExecs
:
ev
.
numCpuSubExecs
;
transfers
[
1
].
numSubExecs
=
IsGpuType
(
transfers
[
1
].
exeType
)
?
ev
.
numGpuSubExecs
:
ev
.
numCpuSubExecs
;
// Remove (DST->SRC) if not bidirectional
transfers
.
resize
(
isBidirectional
+
1
);
...
...
src/include/EnvVars.hpp
View file @
d32b88fe
...
...
@@ -29,7 +29,7 @@ THE SOFTWARE.
#include "Compatibility.hpp"
#include "Kernels.hpp"
#define TB_VERSION "1.2
4
"
#define TB_VERSION "1.2
5
"
extern
char
const
MemTypeStr
[];
extern
char
const
ExeTypeStr
[];
...
...
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