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
wangsen
rocm_bandwidth_test
Commits
a566c2f8
Unverified
Commit
a566c2f8
authored
Jun 08, 2021
by
Ramesh Errabolu
Committed by
GitHub
Jun 08, 2021
Browse files
Merge pull request #74 from mjklemm/master
Fix issue #73 by using the proper delete[] operator
parents
13fe6442
964e03c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
rocm_bandwidth_test_report.cpp
rocm_bandwidth_test_report.cpp
+2
-2
No files found.
rocm_bandwidth_test_report.cpp
View file @
a566c2f8
...
@@ -341,7 +341,7 @@ void RocmBandwidthTest::DisplayCopyTimeMatrix(bool peak) const {
...
@@ -341,7 +341,7 @@ void RocmBandwidthTest::DisplayCopyTimeMatrix(bool peak) const {
double
*
perf_matrix
=
new
double
[
agent_index_
*
agent_index_
]();
double
*
perf_matrix
=
new
double
[
agent_index_
*
agent_index_
]();
PopulatePerfMatrix
(
peak
,
perf_matrix
);
PopulatePerfMatrix
(
peak
,
perf_matrix
);
PrintPerfMatrix
(
false
,
peak
,
perf_matrix
);
PrintPerfMatrix
(
false
,
peak
,
perf_matrix
);
free
(
perf_matrix
)
;
delete
[]
perf_matrix
;
}
}
void
RocmBandwidthTest
::
DisplayValidationMatrix
()
const
{
void
RocmBandwidthTest
::
DisplayValidationMatrix
()
const
{
...
@@ -349,7 +349,7 @@ void RocmBandwidthTest::DisplayValidationMatrix() const {
...
@@ -349,7 +349,7 @@ void RocmBandwidthTest::DisplayValidationMatrix() const {
double
*
perf_matrix
=
new
double
[
agent_index_
*
agent_index_
]();
double
*
perf_matrix
=
new
double
[
agent_index_
*
agent_index_
]();
PopulatePerfMatrix
(
true
,
perf_matrix
);
PopulatePerfMatrix
(
true
,
perf_matrix
);
PrintPerfMatrix
(
true
,
true
,
perf_matrix
);
PrintPerfMatrix
(
true
,
true
,
perf_matrix
);
free
(
perf_matrix
)
;
delete
[]
perf_matrix
;
}
}
void
RocmBandwidthTest
::
DisplayDevInfo
()
const
{
void
RocmBandwidthTest
::
DisplayDevInfo
()
const
{
...
...
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