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
838f4927
Commit
838f4927
authored
Jun 27, 2025
by
zhugzh1
Browse files
mod bug98502
parent
1337102e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
rocm_bandwidth_test_topology.cpp
rocm_bandwidth_test_topology.cpp
+2
-2
No files found.
rocm_bandwidth_test_topology.cpp
View file @
838f4927
...
...
@@ -100,7 +100,7 @@ hsa_status_t MemPoolInfo(hsa_amd_memory_pool_t pool, void* data) {
ErrorCheck
(
status
);
bool
is_kernarg
=
(
HSA_AMD_MEMORY_POOL_GLOBAL_FLAG_KERNARG_INIT
&
flag
);
bool
is_fine_grained
=
(
HSA_AMD_MEMORY_POOL_GLOBAL_FLAG_FINE_GRAINED
&
flag
);
bool
is_coarse_grained
=
(
HSA_AMD_MEMORY_POOL_GLOBAL_FLAG_COARSE_GRAINED
&
flag
);
// Update the pool handle for system memory if kernarg is true
if
(
is_kernarg
)
{
asyncDrvr
->
sys_pool_
=
pool
;
...
...
@@ -134,7 +134,7 @@ hsa_status_t MemPoolInfo(hsa_amd_memory_pool_t pool, void* data) {
return
HSA_STATUS_SUCCESS
;
}
}
else
{
if
(
is_
fin
e_grained
==
true
)
{
if
(
!
is_
coars
e_grained
)
{
return
HSA_STATUS_SUCCESS
;
}
}
...
...
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