Commit Graph
64512 Commits
Author SHA1 Message Date
agunashe ed7cd9b7e1 SWDEV-296926 - warning message for hipcc/hipconfig pl deprecation (#2438)
Change-Id: I9bd339b1cbeac54b9905a00a71849a441694d0ff

[ROCm/hip commit: 9799a0278a]
2022-01-13 10:03:58 +05:30
agunashe 9799a0278a SWDEV-296926 - warning message for hipcc/hipconfig pl deprecation (#2438)
Change-Id: I9bd339b1cbeac54b9905a00a71849a441694d0ff
2022-01-13 10:03:58 +05:30
Nick Curtis 925805d186 Fix missing system-scope for CAS in atomic[Min|Max]_system
Change-Id: Ieb0ca79eaeba3a0ae56739246e08135a25a8d6dd


[ROCm/clr commit: c8103470d5]
2022-01-12 22:53:11 -05:00
Nick Curtis c8103470d5 Fix missing system-scope for CAS in atomic[Min|Max]_system
Change-Id: Ieb0ca79eaeba3a0ae56739246e08135a25a8d6dd
2022-01-12 22:53:11 -05:00
Jenkins 4dc84a3dcd SWDEV-299127 - Merge 'develop' into 'amd-staging'
Change-Id: Id77c54027eb0b9960e78887af75cfc3666d8568b


[ROCm/hip commit: 3239bb1609]
2022-01-12 13:14:10 -05:00
Jenkins 3239bb1609 SWDEV-299127 - Merge 'develop' into 'amd-staging'
Change-Id: Id77c54027eb0b9960e78887af75cfc3666d8568b
2022-01-12 13:14:10 -05:00
Satyanvesh Dittakavi 85c2cac111 SWDEV-306939 - Fix vdi errors/warnings by CppCheck
Change-Id: I56d910f8363787f1050d5d7e8064ed553c5827fd


[ROCm/clr commit: e20dd61932]
2022-01-12 00:22:16 -05:00
Satyanvesh Dittakavi e20dd61932 SWDEV-306939 - Fix vdi errors/warnings by CppCheck
Change-Id: I56d910f8363787f1050d5d7e8064ed553c5827fd
2022-01-12 00:22:16 -05:00
Sarbojit Sarkar 8f0c0822ad SWDEV-313905 - Fix segfault
Change-Id: I7b7bbe80a169014b5d4a8de134351b9f8bf11735


[ROCm/clr commit: 017603703b]
2022-01-11 23:40:25 -05:00
Sarbojit Sarkar 017603703b SWDEV-313905 - Fix segfault
Change-Id: I7b7bbe80a169014b5d4a8de134351b9f8bf11735
2022-01-11 23:40:25 -05:00
Eric Huang 7c62a12918 kfdtest: dynamically increase timeout for P2PBandWidthTest
Incease more timeout according to peers number to pass the
test on some PCIe link platforms.

Change-Id: Ifcb8c7297d6960c96fc18d29bc0a48733ca50165
Signed-off-by: Eric Huang <jinhuieric.huang@amd.com>
2022-01-11 11:01:11 -05:00
Eric Huang e007b37f6e kfdtest: dynamically increase timeout for P2PBandWidthTest
Incease more timeout according to peers number to pass the
test on some PCIe link platforms.

Change-Id: Ifcb8c7297d6960c96fc18d29bc0a48733ca50165
Signed-off-by: Eric Huang <jinhuieric.huang@amd.com>


[ROCm/ROCR-Runtime commit: 7c62a12918]
2022-01-11 11:01:11 -05:00
Bill(Shuzhou) Liu 179bd293ef Add MI200 kernel files for RDC diagnostic
Add the kernel files compiled for MI200.

Change-Id: Ib61795809c14457e332a77d7182992f245ff5b31
2022-01-11 09:28:30 -05:00
Bill(Shuzhou) Liu fa3a258bb6 Add MI200 kernel files for RDC diagnostic
Add the kernel files compiled for MI200.

Change-Id: Ib61795809c14457e332a77d7182992f245ff5b31


[ROCm/rdc commit: 179bd293ef]
2022-01-11 09:28:30 -05:00
Sarbojit2019 f34431d776 SWDEV-3161551 - Fix for P2P sample failure (#2456)
[ROCm/hip-tests commit: 33ac9de928]
2022-01-11 13:52:13 +05:30
Sarbojit2019 33ac9de928 SWDEV-3161551 - Fix for P2P sample failure (#2456) 2022-01-11 13:52:13 +05:30
Sarbojit2019 7f451b6ad9 SWDEV-3161551 - Fix for P2P sample failure (#2456)
[ROCm/hip commit: b665052bd7]
2022-01-11 13:52:13 +05:30
Sarbojit2019 b665052bd7 SWDEV-3161551 - Fix for P2P sample failure (#2456) 2022-01-11 13:52:13 +05:30
Sarbojit2019 4b43ff2ae6 SWDEV-310181 - Fix for memcpy3D test failure (#2455)
[ROCm/hip-tests commit: 2551628cc0]
2022-01-11 13:50:49 +05:30
Sarbojit2019 2551628cc0 SWDEV-310181 - Fix for memcpy3D test failure (#2455) 2022-01-11 13:50:49 +05:30
Sarbojit2019 bc20b513c4 SWDEV-310181 - Fix for memcpy3D test failure (#2455)
[ROCm/hip commit: 3fcc42d05e]
2022-01-11 13:50:49 +05:30
Sarbojit2019 3fcc42d05e SWDEV-310181 - Fix for memcpy3D test failure (#2455) 2022-01-11 13:50:49 +05:30
pghafari ca992e1dc3 SWDEV-245531 - GLInterop - adding register image api (#2454)
Change-Id: Iff40f244f0d9c31b462c5878a8c8eed6f5292517

[ROCm/hip commit: b59522d188]
2022-01-11 13:49:31 +05:30
pghafari b59522d188 SWDEV-245531 - GLInterop - adding register image api (#2454)
Change-Id: Iff40f244f0d9c31b462c5878a8c8eed6f5292517
2022-01-11 13:49:31 +05:30
David Yat Sin 86164fbfec Fix for segfault after removing PrefetchRange from map
The start iterator becomes invalid after it is removed from
std::map prefetch_map_. This was causing a segfault when the iterator is
incremented afterwards.

Signed-off-by: David Yat Sin <david.yatsin@amd.com>
Change-Id: I4b0b763d2cb4ee99c0b8571c2c526b834e74077a
2022-01-10 17:47:02 -05:00
David Yat Sin 4fb019555b Fix for segfault after removing PrefetchRange from map
The start iterator becomes invalid after it is removed from
std::map prefetch_map_. This was causing a segfault when the iterator is
incremented afterwards.

Signed-off-by: David Yat Sin <david.yatsin@amd.com>
Change-Id: I4b0b763d2cb4ee99c0b8571c2c526b834e74077a


[ROCm/ROCR-Runtime commit: 86164fbfec]
2022-01-10 17:47:02 -05:00
David Yat Sin 4986f4a5c2 libhsakmt:Add MADV_DONTFORK to device mappings
Mapped memory areas become invalid after fork, and the child process is
required to remap the memory areas after a fork. So we mark these device
memory mappings with MADV_DONTFORK so that they are removed from the
child process after fork.

This was causing some issues when doing CRIU checkpoint/restore because
CRIU and amdgpu_plugin were not able to handle these mappings.

Change-Id: I50eb334aecea6dab7522d94da0273adcf4fb1ce0
Signed-off-by: David Yat Sin <david.yatsin@amd.com>
2022-01-10 16:25:16 -05:00
David Yat Sin 0f5d0a9c3f libhsakmt:Add MADV_DONTFORK to device mappings
Mapped memory areas become invalid after fork, and the child process is
required to remap the memory areas after a fork. So we mark these device
memory mappings with MADV_DONTFORK so that they are removed from the
child process after fork.

This was causing some issues when doing CRIU checkpoint/restore because
CRIU and amdgpu_plugin were not able to handle these mappings.

Change-Id: I50eb334aecea6dab7522d94da0273adcf4fb1ce0
Signed-off-by: David Yat Sin <david.yatsin@amd.com>


[ROCm/ROCR-Runtime commit: 4986f4a5c2]
2022-01-10 16:25:16 -05:00
Sarbojit Sarkar 641d0b9d6f SWDEV-315545 - Fix for hipMemsetAsync crash
Change-Id: I39ad0dacf4357aa6f9d0c6cf92a6a7d14bd219c0


[ROCm/clr commit: c4f6037ae8]
2022-01-10 06:48:10 -05:00
Sarbojit Sarkar c4f6037ae8 SWDEV-315545 - Fix for hipMemsetAsync crash
Change-Id: I39ad0dacf4357aa6f9d0c6cf92a6a7d14bd219c0
2022-01-10 06:48:10 -05:00
Ruili Ji 0340c68031 kfdtest : adjust memory size for KFDMemoryTest.
Total VRAM size on APU is 512M usually,
Framebuffer also is allocated from VRAM.
There is no enough memory for this case.

/home/ruiliji2/p5/libhsakmt/tests/kfdtest/src/KFDMemoryTest.cpp:1285: Failure
Value of: (hsaKmtMapMemoryToGPUNodes(bufs[i], bufSize, &altVa, mapFlags, 1, &defaultGPUNode))
[  FAILED  ] KFDMemoryTest.MMBench (1034 ms)

Change-Id: Ib4201291122d85f6512a85859aea9a4713fb4f5c
(cherry picked from commit a9f924484e7022a2d53ee02811b080f0833eba55)
2022-01-09 20:52:11 -05:00
Ruili Ji 4abf6241ae kfdtest : adjust memory size for KFDMemoryTest.
Total VRAM size on APU is 512M usually,
Framebuffer also is allocated from VRAM.
There is no enough memory for this case.

/home/ruiliji2/p5/libhsakmt/tests/kfdtest/src/KFDMemoryTest.cpp:1285: Failure
Value of: (hsaKmtMapMemoryToGPUNodes(bufs[i], bufSize, &altVa, mapFlags, 1, &defaultGPUNode))
[  FAILED  ] KFDMemoryTest.MMBench (1034 ms)

Change-Id: Ib4201291122d85f6512a85859aea9a4713fb4f5c
(cherry picked from commit a9f924484e7022a2d53ee02811b080f0833eba55)


[ROCm/ROCR-Runtime commit: 0340c68031]
2022-01-09 20:52:11 -05:00
Chauncey Hui 0f38461bb6 SWDEV-2 - Change OpenCL version number from 3411 to 3412
[ROCm/clr commit: 8b5b2a2d79]
2022-01-08 03:00:04 -05:00
Chauncey Hui 8b5b2a2d79 SWDEV-2 - Change OpenCL version number from 3411 to 3412 2022-01-08 03:00:04 -05:00
haoyuan2 3bdc78b813 SWDEV-315924 - align with CUDA to define vector3 data type
Change-Id: I7654fb757b4c387a762f384ccdd3f2c8555d149f


[ROCm/clr commit: 0f94653447]
2022-01-06 17:35:56 -05:00
haoyuan2 0f94653447 SWDEV-315924 - align with CUDA to define vector3 data type
Change-Id: I7654fb757b4c387a762f384ccdd3f2c8555d149f
2022-01-06 17:35:56 -05:00
German Andryeyev 252c0e5032 SWDEV-316665 - Add ATI_BITS_32 define to cmake build
Some logic in ROCclr relies on ATI_BITS_32 define

Change-Id: I2f0ef535e8d7717f9aa8646bdc80c09880bd2bee


[ROCm/clr commit: 5f98028a48]
2022-01-06 13:14:19 -05:00
German Andryeyev 5f98028a48 SWDEV-316665 - Add ATI_BITS_32 define to cmake build
Some logic in ROCclr relies on ATI_BITS_32 define

Change-Id: I2f0ef535e8d7717f9aa8646bdc80c09880bd2bee
2022-01-06 13:14:19 -05:00
Sarbojit Sarkar 74269eb547 SWDEV-316155 - Fix for P2P sample failure
Change-Id: I95a70d44949c59319a9a09f84be771740c3f0521


[ROCm/clr commit: 845b923507]
2022-01-06 06:35:15 -05:00
Sarbojit Sarkar 845b923507 SWDEV-316155 - Fix for P2P sample failure
Change-Id: I95a70d44949c59319a9a09f84be771740c3f0521
2022-01-06 06:35:15 -05:00
Julia Jiang 3ee377ecdc SWDEV-312143 - Add build steps on NV platform (#2445)
Change-Id: I076b615f444eef08b51590daa04bba99a2c19cb8

[ROCm/hip commit: 327695fcca]
2022-01-06 16:23:17 +05:30
Julia Jiang 327695fcca SWDEV-312143 - Add build steps on NV platform (#2445)
Change-Id: I076b615f444eef08b51590daa04bba99a2c19cb8
2022-01-06 16:23:17 +05:30
Maneesh Gupta 8cc181deaa Add missing checks in hipMemCoherencyTst.cc (#2442)
Change-Id: I47f188345ec39ad216ee8dd92dc9d89d99ca2733

[ROCm/hip-tests commit: e1e4e30ffe]
2022-01-06 16:23:09 +05:30
Maneesh Gupta e1e4e30ffe Add missing checks in hipMemCoherencyTst.cc (#2442)
Change-Id: I47f188345ec39ad216ee8dd92dc9d89d99ca2733
2022-01-06 16:23:09 +05:30
Maneesh Gupta f617a9ccbb Add missing checks in hipMemCoherencyTst.cc (#2442)
Change-Id: I47f188345ec39ad216ee8dd92dc9d89d99ca2733

[ROCm/hip commit: b09c16b062]
2022-01-06 16:23:09 +05:30
Maneesh Gupta b09c16b062 Add missing checks in hipMemCoherencyTst.cc (#2442)
Change-Id: I47f188345ec39ad216ee8dd92dc9d89d99ca2733
2022-01-06 16:23:09 +05:30
Sarbojit2019 0390880b84 SWDEV-292547 - dtests for hipStreamPerThread (#2417)
[ROCm/hip-tests commit: d756a47a41]
2022-01-06 16:18:30 +05:30
Sarbojit2019 d756a47a41 SWDEV-292547 - dtests for hipStreamPerThread (#2417) 2022-01-06 16:18:30 +05:30
Sarbojit2019 77a716268f SWDEV-292547 - dtests for hipStreamPerThread (#2417)
[ROCm/hip commit: 9de957d9df]
2022-01-06 16:18:30 +05:30
Sarbojit2019 9de957d9df SWDEV-292547 - dtests for hipStreamPerThread (#2417) 2022-01-06 16:18:30 +05:30