Jonas Zhou
1db601566f
x86: Add CPU detection for Zhaoxin processors
...
Signed-off-by: Jonas Zhou <JonasZhou@zhaoxin.com >
[ROCm/rccl commit: 3996562690 ]
2020-12-17 11:15:18 -08:00
Jonas Zhou
3996562690
x86: Add CPU detection for Zhaoxin processors
...
Signed-off-by: Jonas Zhou <JonasZhou@zhaoxin.com >
2020-12-17 11:15:18 -08:00
Rahul Garg
76a2999f22
Fix hipmemset to match CUDA behavior
...
Make hipMemset asynchronous with respect to the host unless
destination pointer refers to pinned host memory.
Change-Id: I5ba230e0cc622aa076dc94692a4c43a57dd2df7b
[ROCm/clr commit: 9ba5902be4 ]
2020-12-17 19:13:31 +00:00
Rahul Garg
9ba5902be4
Fix hipmemset to match CUDA behavior
...
Make hipMemset asynchronous with respect to the host unless
destination pointer refers to pinned host memory.
Change-Id: I5ba230e0cc622aa076dc94692a4c43a57dd2df7b
2020-12-17 19:13:31 +00:00
Rahul Garg
f57da595ff
Fix hipmemset to match CUDA behavior
...
Make hipMemset asynchronous with respect to the host unless
destination pointer refers to pinned host memory.
Change-Id: I5ba230e0cc622aa076dc94692a4c43a57dd2df7b
[ROCm/hip commit: 08f827b28b ]
2020-12-17 19:13:31 +00:00
Rahul Garg
08f827b28b
Fix hipmemset to match CUDA behavior
...
Make hipMemset asynchronous with respect to the host unless
destination pointer refers to pinned host memory.
Change-Id: I5ba230e0cc622aa076dc94692a4c43a57dd2df7b
2020-12-17 19:13:31 +00:00
German Andryeyev
5bc740fc5e
Update comments in the code
...
Make sure the comments in the code match the actual behavior.
HDP read has internal HDP read cache and doesn't use L2.
Change-Id: I667a4643b0e0d6529008f5e1a0a3269456c55b4e
[ROCm/clr commit: d524514f6a ]
2020-12-17 09:43:23 -05:00
German Andryeyev
d524514f6a
Update comments in the code
...
Make sure the comments in the code match the actual behavior.
HDP read has internal HDP read cache and doesn't use L2.
Change-Id: I667a4643b0e0d6529008f5e1a0a3269456c55b4e
2020-12-17 09:43:23 -05:00
Yifan Zhang
742f718722
kfdtest: Take vram size into account when calculate buffer number.
...
Vram size is relatively smaller in APU, e.g. 512MB.
Current MMBench doesn't support small vram system.
Running MMBench may have below errors:
[ RUN ] KFDMemoryTest.MMBench
[ ] Found VRAM of 512MB.
[ ] Test (avg. ns) alloc mapOne umapOne mapAll umapAll free
[ ] --------------------------------------------------------------------------
[ ] 4K-SysMem-noSDMA 4569 20098 1292 18835 926 2218
[ ] 64K-SysMem-noSDMA 12738 20469 1030 19201 1293 4560
[ ] 2M-SysMem-noSDMA 256384 21020 1022 20568 1196 36294
[ ] 32M-SysMem-noSDMA 4031812 83750 5406 61156 4312 535656
[ ] 1G-SysMem-noSDMA 129260000 427000 34000 390000 30000 18548000
[ ] --------------------------------------------------------------------------
[ ] 4K-VRAM-noSDMA 3594 19637 979 19624 1357 2829
[ ] 64K-VRAM-noSDMA 3540 21062 1407 19614 1654 3024
/home/foreman/build/hsakmt-roct-amdgpu-1.0.9/sources/libhsakmt/tests/kfdtest/src/KFDMemoryTest.cpp:1119: Failure
Value of: (hsaKmtAllocMemory(allocNode, bufSize, memFlags, &bufs[i]))
Actual: 6
Expected: HSAKMT_STATUS_SUCCESS
Which is: 0
[ FAILED ] KFDMemoryTest.MMBench (723 ms)
Fix this issue by changing buffer number calculation in MMBench.
Change-Id: I5cce95707a048248f1e825c807586818619eddaf
Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com >
2020-12-17 07:41:24 -05:00
Yifan Zhang
72b5ce407a
kfdtest: Take vram size into account when calculate buffer number.
...
Vram size is relatively smaller in APU, e.g. 512MB.
Current MMBench doesn't support small vram system.
Running MMBench may have below errors:
[ RUN ] KFDMemoryTest.MMBench
[ ] Found VRAM of 512MB.
[ ] Test (avg. ns) alloc mapOne umapOne mapAll umapAll free
[ ] --------------------------------------------------------------------------
[ ] 4K-SysMem-noSDMA 4569 20098 1292 18835 926 2218
[ ] 64K-SysMem-noSDMA 12738 20469 1030 19201 1293 4560
[ ] 2M-SysMem-noSDMA 256384 21020 1022 20568 1196 36294
[ ] 32M-SysMem-noSDMA 4031812 83750 5406 61156 4312 535656
[ ] 1G-SysMem-noSDMA 129260000 427000 34000 390000 30000 18548000
[ ] --------------------------------------------------------------------------
[ ] 4K-VRAM-noSDMA 3594 19637 979 19624 1357 2829
[ ] 64K-VRAM-noSDMA 3540 21062 1407 19614 1654 3024
/home/foreman/build/hsakmt-roct-amdgpu-1.0.9/sources/libhsakmt/tests/kfdtest/src/KFDMemoryTest.cpp:1119: Failure
Value of: (hsaKmtAllocMemory(allocNode, bufSize, memFlags, &bufs[i]))
Actual: 6
Expected: HSAKMT_STATUS_SUCCESS
Which is: 0
[ FAILED ] KFDMemoryTest.MMBench (723 ms)
Fix this issue by changing buffer number calculation in MMBench.
Change-Id: I5cce95707a048248f1e825c807586818619eddaf
Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com >
[ROCm/ROCR-Runtime commit: 742f718722 ]
2020-12-17 07:41:24 -05:00
Ashutosh Mishra
a6c76d6952
Standardizing Package name
...
Enables standards compliant package naming for debian and rpm
Signed-off-by: Ashutosh Mishra <ashutosh.mishra@amd.com >
Change-Id: Ib37d29aedc20b610619f6921f4147b41c0eaf134
[ROCm/rocm_smi_lib commit: d097cb21e1 ]
2020-12-17 02:47:53 -05:00
Ashutosh Mishra
d097cb21e1
Standardizing Package name
...
Enables standards compliant package naming for debian and rpm
Signed-off-by: Ashutosh Mishra <ashutosh.mishra@amd.com >
Change-Id: Ib37d29aedc20b610619f6921f4147b41c0eaf134
2020-12-17 02:47:53 -05:00
Ashutosh Mishra
6cbe1fda15
Standardizing Package name
...
Enables standards compliant package naming for debian and rpm
Signed-off-by: Ashutosh Mishra <ashutosh.mishra@amd.com >
Change-Id: Ib37d29aedc20b610619f6921f4147b41c0eaf134
[ROCm/amdsmi commit: d097cb21e1 ]
2020-12-17 02:47:53 -05:00
Sarbojit Sarkar
81f54bcdd3
SWDEV-262857: minor fix for D2D
...
Change-Id: Ica3cb9108e7a0d40d6a910f318df0a2420145603
[ROCm/clr commit: 0e4b4255b2 ]
2020-12-16 23:13:15 -05:00
Sarbojit Sarkar
0e4b4255b2
SWDEV-262857: minor fix for D2D
...
Change-Id: Ica3cb9108e7a0d40d6a910f318df0a2420145603
2020-12-16 23:13:15 -05:00
Chris Freehill
c401b025fe
Correct TestPerfLevelReadWrite test
...
Enums referenced in the test did not match what's in rocm_smi.h.
Added static assert to try to catch this. Also moved enum string
map to test_common.cc/h where other such maps are.
Also, fixed some cpplint issues.
Change-Id: I683553248ceb2fabb28ce1a1208bc9744aaf88d6
[ROCm/rocm_smi_lib commit: 7e17684532 ]
2020-12-16 17:12:04 -06:00
Chris Freehill
7e17684532
Correct TestPerfLevelReadWrite test
...
Enums referenced in the test did not match what's in rocm_smi.h.
Added static assert to try to catch this. Also moved enum string
map to test_common.cc/h where other such maps are.
Also, fixed some cpplint issues.
Change-Id: I683553248ceb2fabb28ce1a1208bc9744aaf88d6
2020-12-16 17:12:04 -06:00
Chris Freehill
a0c99bc972
Correct TestPerfLevelReadWrite test
...
Enums referenced in the test did not match what's in rocm_smi.h.
Added static assert to try to catch this. Also moved enum string
map to test_common.cc/h where other such maps are.
Also, fixed some cpplint issues.
Change-Id: I683553248ceb2fabb28ce1a1208bc9744aaf88d6
[ROCm/amdsmi commit: 7e17684532 ]
2020-12-16 17:12:04 -06:00
Rachida Kebichi
bbf605467b
SWDEV-259683 HIP API records filtering
...
Change-Id: I43ca5e022d2c055b6a9bc2c09b4276b490a4b986
[ROCm/roctracer commit: 2d31848c44 ]
2020-12-16 16:29:36 -05:00
Rachida Kebichi
2d31848c44
SWDEV-259683 HIP API records filtering
...
Change-Id: I43ca5e022d2c055b6a9bc2c09b4276b490a4b986
2020-12-16 16:29:36 -05:00
Evgeny Shcherbakov
608a087451
Merge "calling python3 explictely" into amd-staging
...
[ROCm/roctracer commit: 3e4539c95d ]
2020-12-16 16:01:57 -05:00
Evgeny Shcherbakov
3e4539c95d
Merge "calling python3 explictely" into amd-staging
2020-12-16 16:01:57 -05:00
Evgeny
f1458a97fb
calling python3 explictely
...
Change-Id: I3dda55865bafa41cc6670e414b213f13a2a2a7ac
[ROCm/roctracer commit: bb5f2231a1 ]
2020-12-16 14:29:12 -05:00
Evgeny
bb5f2231a1
calling python3 explictely
...
Change-Id: I3dda55865bafa41cc6670e414b213f13a2a2a7ac
2020-12-16 14:29:12 -05:00
Sarbojit Sarkar
cd827fad4d
SWDEV-262734: Fix for Numa policy bug
...
Change-Id: I4be62c1fc45a59d09aa043af1c998b9e308da604
[ROCm/clr commit: 673f483879 ]
2020-12-16 11:22:32 -05:00
Sarbojit Sarkar
673f483879
SWDEV-262734: Fix for Numa policy bug
...
Change-Id: I4be62c1fc45a59d09aa043af1c998b9e308da604
2020-12-16 11:22:32 -05:00
Wenkai Du
5624e4fcb3
Add support for testing memory allocated with hipMallocManaged
...
[ROCm/rccl-tests commit: 3117033150 ]
2020-12-15 22:05:50 -05:00
Wenkai Du
3117033150
Add support for testing memory allocated with hipMallocManaged
2020-12-15 22:05:50 -05:00
Wenkai Du
4ea285c527
Fix Rome PCIe 2 node topology generation ( #310 )
...
[ROCm/rccl commit: 373a108516 ]
2020-12-15 17:16:17 -08:00
Wenkai Du
373a108516
Fix Rome PCIe 2 node topology generation ( #310 )
2020-12-15 17:16:17 -08:00
gilbertlee-amd
c570f09681
[TransferBench] Fixing bug with fine-grained memory allocation ( #311 )
...
* Fixing bug with fine-grained memory
[ROCm/rccl commit: 41c35dad48 ]
2020-12-15 17:37:31 -07:00
gilbertlee-amd
41c35dad48
[TransferBench] Fixing bug with fine-grained memory allocation ( #311 )
...
* Fixing bug with fine-grained memory
2020-12-15 17:37:31 -07:00
Evgeny
c3ab859a2d
SWDEV-263773 : adding CMAKE_TESTING_TOOL cmake argument
...
Change-Id: I28df2344d000a0dbef07f45971a9dc92fe07fb27
[ROCm/clr commit: 52b86dfc1c ]
2020-12-15 17:52:30 -05:00
Evgeny
52b86dfc1c
SWDEV-263773 : adding CMAKE_TESTING_TOOL cmake argument
...
Change-Id: I28df2344d000a0dbef07f45971a9dc92fe07fb27
2020-12-15 17:52:30 -05:00
Evgeny
3e7e94ce07
SWDEV-263773 : adding CMAKE_TESTING_TOOL cmake argument
...
Change-Id: I28df2344d000a0dbef07f45971a9dc92fe07fb27
[ROCm/hip commit: 343f6aafc8 ]
2020-12-15 17:52:30 -05:00
Evgeny
343f6aafc8
SWDEV-263773 : adding CMAKE_TESTING_TOOL cmake argument
...
Change-Id: I28df2344d000a0dbef07f45971a9dc92fe07fb27
2020-12-15 17:52:30 -05:00
Evgeny
024774c58a
SWDEV-259683 : hipprof: adding hipApiIdByName() method
...
Change-Id: I1ad2be76efc9fb690ed7c9c2b1091f7eb0c04a31
[ROCm/clr commit: e54f2a1af1 ]
2020-12-15 15:42:10 -05:00
Evgeny
e54f2a1af1
SWDEV-259683 : hipprof: adding hipApiIdByName() method
...
Change-Id: I1ad2be76efc9fb690ed7c9c2b1091f7eb0c04a31
2020-12-15 15:42:10 -05:00
Evgeny
4156100aee
SWDEV-259683 : hipprof: adding hipApiIdByName() method
...
Change-Id: I1ad2be76efc9fb690ed7c9c2b1091f7eb0c04a31
[ROCm/hip commit: d4df2e880d ]
2020-12-15 15:42:10 -05:00
Evgeny
d4df2e880d
SWDEV-259683 : hipprof: adding hipApiIdByName() method
...
Change-Id: I1ad2be76efc9fb690ed7c9c2b1091f7eb0c04a31
2020-12-15 15:42:10 -05:00
Vladislav Sytchenko
6c80b85c95
[PAL] Clamp max image buffer size...
...
to the maximum size we can possibly create.
Change-Id: Iade51d84fdada4ae1299d9b2410d373a46357c66
[ROCm/clr commit: f45cea29b7 ]
2020-12-15 12:14:09 -05:00
Vladislav Sytchenko
f45cea29b7
[PAL] Clamp max image buffer size...
...
to the maximum size we can possibly create.
Change-Id: Iade51d84fdada4ae1299d9b2410d373a46357c66
2020-12-15 12:14:09 -05:00
Satyanvesh Dittakavi
c832ef9e7c
SWDEV-258754 Fix seg fault hipMemset with device pointer mapped from hipHostRegister
...
Change-Id: Ifab66b67df172812ebb6eb25c2bac71821f4d614
[ROCm/clr commit: f06393c75f ]
2020-12-15 07:44:34 -05:00
Satyanvesh Dittakavi
f06393c75f
SWDEV-258754 Fix seg fault hipMemset with device pointer mapped from hipHostRegister
...
Change-Id: Ifab66b67df172812ebb6eb25c2bac71821f4d614
2020-12-15 07:44:34 -05:00
Satyanvesh Dittakavi
cc8d3a3188
SWDEV-258754 Fix seg fault hipMemset with device pointer mapped from hipHostRegister
...
Change-Id: Ifab66b67df172812ebb6eb25c2bac71821f4d614
[ROCm/hip commit: 5b10098da9 ]
2020-12-15 07:44:34 -05:00
Satyanvesh Dittakavi
5b10098da9
SWDEV-258754 Fix seg fault hipMemset with device pointer mapped from hipHostRegister
...
Change-Id: Ifab66b67df172812ebb6eb25c2bac71821f4d614
2020-12-15 07:44:34 -05:00
Satyanvesh Dittakavi
1f654026d7
Fix hipPointerGetAttributes
...
Modified hipPointerGetAttributes to support hipHostRegister ptrs and mapped device ptrs from hipHostRegister
Change-Id: I2f4cf12e09578768308f644123d6d4bdccbd77a8
[ROCm/clr commit: 40733e1fff ]
2020-12-15 01:40:24 -05:00
Satyanvesh Dittakavi
40733e1fff
Fix hipPointerGetAttributes
...
Modified hipPointerGetAttributes to support hipHostRegister ptrs and mapped device ptrs from hipHostRegister
Change-Id: I2f4cf12e09578768308f644123d6d4bdccbd77a8
2020-12-15 01:40:24 -05:00
Satyanvesh Dittakavi
390615cc60
Fix hipPointerGetAttributes
...
Modified hipPointerGetAttributes to support hipHostRegister ptrs and mapped device ptrs from hipHostRegister
Change-Id: I2f4cf12e09578768308f644123d6d4bdccbd77a8
[ROCm/hip commit: a7b5347c90 ]
2020-12-15 01:40:24 -05:00
Satyanvesh Dittakavi
a7b5347c90
Fix hipPointerGetAttributes
...
Modified hipPointerGetAttributes to support hipHostRegister ptrs and mapped device ptrs from hipHostRegister
Change-Id: I2f4cf12e09578768308f644123d6d4bdccbd77a8
2020-12-15 01:40:24 -05:00