Commit Graph
64512 Commits
Author SHA1 Message Date
Sarbojit2019 20ef9be4aa SWDEV-306176 - Fix hipInfo sample for arch name showing junk values on some platform (#2404)
[ROCm/hip-tests commit: d287ee0b43]
2021-11-25 15:13:22 +05:30
Sarbojit2019 d287ee0b43 SWDEV-306176 - Fix hipInfo sample for arch name showing junk values on some platform (#2404) 2021-11-25 15:13:22 +05:30
Sarbojit2019 0431b2116a SWDEV-306176 - Fix hipInfo sample for arch name showing junk values on some platform (#2404)
[ROCm/hip commit: de1e4a66c5]
2021-11-25 15:13:22 +05:30
Sarbojit2019 de1e4a66c5 SWDEV-306176 - Fix hipInfo sample for arch name showing junk values on some platform (#2404) 2021-11-25 15:13:22 +05:30
Aakanksha Patil 4623e4c65d SWDEV-309659 - Delete duplicate files - hipify-perl and helper scripts (#2403)
* Delete duplicate files - hipify-perl and helper scripts
* Update link for hipconvertinplace-perl.sh references
* Remove remaining references to hipify-clang and contents of its package
* Hyperlink hipexamine-perl.sh in docs/markdown/hip_porting_guide.md

[ROCm/hip-tests commit: da9a79a5f6]
2021-11-25 15:12:09 +05:30
Aakanksha Patil da9a79a5f6 SWDEV-309659 - Delete duplicate files - hipify-perl and helper scripts (#2403)
* Delete duplicate files - hipify-perl and helper scripts
* Update link for hipconvertinplace-perl.sh references
* Remove remaining references to hipify-clang and contents of its package
* Hyperlink hipexamine-perl.sh in docs/markdown/hip_porting_guide.md
2021-11-25 15:12:09 +05:30
Aakanksha Patil da389e1486 SWDEV-309659 - Delete duplicate files - hipify-perl and helper scripts (#2403)
* Delete duplicate files - hipify-perl and helper scripts
* Update link for hipconvertinplace-perl.sh references
* Remove remaining references to hipify-clang and contents of its package
* Hyperlink hipexamine-perl.sh in docs/markdown/hip_porting_guide.md

[ROCm/hip commit: 6902f11835]
2021-11-25 15:12:09 +05:30
Aakanksha Patil 6902f11835 SWDEV-309659 - Delete duplicate files - hipify-perl and helper scripts (#2403)
* Delete duplicate files - hipify-perl and helper scripts
* Update link for hipconvertinplace-perl.sh references
* Remove remaining references to hipify-clang and contents of its package
* Hyperlink hipexamine-perl.sh in docs/markdown/hip_porting_guide.md
2021-11-25 15:12:09 +05:30
lthakur cfb30bc703 SWDEV-293806 - Adding tests to check behvior related to fine and coarse grain (#2402)
Change-Id: Ia437adf138e6952ff42b6081c39da5bfaf931e53

[ROCm/hip-tests commit: 3fbea0cd5a]
2021-11-25 15:11:10 +05:30
lthakur 3fbea0cd5a SWDEV-293806 - Adding tests to check behvior related to fine and coarse grain (#2402)
Change-Id: Ia437adf138e6952ff42b6081c39da5bfaf931e53
2021-11-25 15:11:10 +05:30
lthakur ba6fe1a221 SWDEV-293806 - Adding tests to check behvior related to fine and coarse grain (#2402)
Change-Id: Ia437adf138e6952ff42b6081c39da5bfaf931e53

[ROCm/hip commit: f6da2f8795]
2021-11-25 15:11:10 +05:30
lthakur f6da2f8795 SWDEV-293806 - Adding tests to check behvior related to fine and coarse grain (#2402)
Change-Id: Ia437adf138e6952ff42b6081c39da5bfaf931e53
2021-11-25 15:11:10 +05:30
lthakur 0ef5bb1917 SWDEV-298757 - Adding stress test for hipMallocManaged() api (#2397)
Change-Id: Ie5d016bec9c939c3af60c1476a79d7685e774ced

[ROCm/hip-tests commit: 0863a2e813]
2021-11-25 15:10:56 +05:30
lthakur 0863a2e813 SWDEV-298757 - Adding stress test for hipMallocManaged() api (#2397)
Change-Id: Ie5d016bec9c939c3af60c1476a79d7685e774ced
2021-11-25 15:10:56 +05:30
lthakur 3ef5780969 SWDEV-298757 - Adding stress test for hipMallocManaged() api (#2397)
Change-Id: Ie5d016bec9c939c3af60c1476a79d7685e774ced

[ROCm/hip commit: 98e8f56d89]
2021-11-25 15:10:56 +05:30
lthakur 98e8f56d89 SWDEV-298757 - Adding stress test for hipMallocManaged() api (#2397)
Change-Id: Ie5d016bec9c939c3af60c1476a79d7685e774ced
2021-11-25 15:10:56 +05:30
Julia Jiang caefcc8608 SWDEV-306204 - remove external reference in hip_bugs.md (#2394)
Change-Id: I7425eba1cd20a2f842479d0eb050f97e21e457c1

[ROCm/hip commit: 9b7645575f]
2021-11-25 15:10:31 +05:30
Julia Jiang 9b7645575f SWDEV-306204 - remove external reference in hip_bugs.md (#2394)
Change-Id: I7425eba1cd20a2f842479d0eb050f97e21e457c1
2021-11-25 15:10:31 +05:30
ansurya 24acf4ab9e SWDEV-287830 - Remove hardcoding of /opt/rocm path from hip samples (#2391)
Change-Id: I4ffcb4d5afe329377aca63ae0a962c1dc567bfd8

[ROCm/hip-tests commit: dc06edf44d]
2021-11-25 15:10:15 +05:30
ansurya dc06edf44d SWDEV-287830 - Remove hardcoding of /opt/rocm path from hip samples (#2391)
Change-Id: I4ffcb4d5afe329377aca63ae0a962c1dc567bfd8
2021-11-25 15:10:15 +05:30
ansurya 87d8b0ba1b SWDEV-287830 - Remove hardcoding of /opt/rocm path from hip samples (#2391)
Change-Id: I4ffcb4d5afe329377aca63ae0a962c1dc567bfd8

[ROCm/hip commit: a0d32f5899]
2021-11-25 15:10:15 +05:30
ansurya a0d32f5899 SWDEV-287830 - Remove hardcoding of /opt/rocm path from hip samples (#2391)
Change-Id: I4ffcb4d5afe329377aca63ae0a962c1dc567bfd8
2021-11-25 15:10:15 +05:30
ansurya 8a9e9e5091 SWDEV-287830 - Remove hardcoding of /opt/rocm path (#2390)
Change-Id: If96739816b56e4cec58f457a91f18411075b2eb4

[ROCm/hip commit: acf75c28c1]
2021-11-25 15:10:03 +05:30
ansurya acf75c28c1 SWDEV-287830 - Remove hardcoding of /opt/rocm path (#2390)
Change-Id: If96739816b56e4cec58f457a91f18411075b2eb4
2021-11-25 15:10:03 +05:30
Sarbojit2019 f7635df775 SWDEV-304211 - Removed known targets from hipcc (#2388)
[ROCm/hip commit: a6f49b27db]
2021-11-25 15:09:36 +05:30
Sarbojit2019 a6f49b27db SWDEV-304211 - Removed known targets from hipcc (#2388) 2021-11-25 15:09:36 +05:30
Jatin Chaudhary f30b3035ef SWDEV-297217 - Add test for overriding user options (#2386)
Change-Id: If4c2cad9ef3359ca8d98814864fbe0b9b8e4a4ab

[ROCm/hip-tests commit: 4df3d1af47]
2021-11-25 15:09:18 +05:30
Jatin Chaudhary 4df3d1af47 SWDEV-297217 - Add test for overriding user options (#2386)
Change-Id: If4c2cad9ef3359ca8d98814864fbe0b9b8e4a4ab
2021-11-25 15:09:18 +05:30
Jatin Chaudhary ebfdc5c9e5 SWDEV-297217 - Add test for overriding user options (#2386)
Change-Id: If4c2cad9ef3359ca8d98814864fbe0b9b8e4a4ab

[ROCm/hip commit: 3aad02a138]
2021-11-25 15:09:18 +05:30
Jatin Chaudhary 3aad02a138 SWDEV-297217 - Add test for overriding user options (#2386)
Change-Id: If4c2cad9ef3359ca8d98814864fbe0b9b8e4a4ab
2021-11-25 15:09:18 +05:30
Jatin Chaudhary c02f8be0ac SWDEV-303745 - Add new path of clangrt lib (#2385)
Change-Id: I3bfe28ac5c50884653187d733a466e661ff32f7d

[ROCm/hip commit: 5d57c55c4a]
2021-11-25 15:09:00 +05:30
Jatin Chaudhary 5d57c55c4a SWDEV-303745 - Add new path of clangrt lib (#2385)
Change-Id: I3bfe28ac5c50884653187d733a466e661ff32f7d
2021-11-25 15:09:00 +05:30
Julia Jiang 3351c0a2f7 SWDEV-286322 - clean up trailing space - part2 (#2383)
Change-Id: Id659c029a33874bc9a7d4c42bffd06cdc1845e2e

[ROCm/hip commit: 48b91908bc]
2021-11-25 15:08:06 +05:30
Julia Jiang 48b91908bc SWDEV-286322 - clean up trailing space - part2 (#2383)
Change-Id: Id659c029a33874bc9a7d4c42bffd06cdc1845e2e
2021-11-25 15:08:06 +05:30
Julia Jiang 84395b3b1f SWDEV-291894 - update doxygen for HIP APIs (#2382)
Change-Id: I0ca57d6ced43b962d9b002b098e64221c4b267d7

[ROCm/hip commit: d22fa0012e]
2021-11-25 15:07:52 +05:30
Julia Jiang d22fa0012e SWDEV-291894 - update doxygen for HIP APIs (#2382)
Change-Id: I0ca57d6ced43b962d9b002b098e64221c4b267d7
2021-11-25 15:07:52 +05:30
Chauncey Hui 4d011fd9ae SWDEV-2 - Change OpenCL version number from 3396 to 3397
[ROCm/clr commit: 964f5bc502]
2021-11-25 03:00:04 -05:00
Chauncey Hui 964f5bc502 SWDEV-2 - Change OpenCL version number from 3396 to 3397 2021-11-25 03:00:04 -05:00
Sean Keely df55cb0450 Rework memory locks to allow device parallelism in alloc/free.
Prior solution used a single global lock to protect the memory tracking structures.
This change protects the memory tracking structure with a shared mutex (rw lock) in
shared (r) mode for memory allocations and frees so that long duration processes,
calling to kfd, can be done in parallel.  Operations which must modify the memory map
take the mutex in exclusive mode (w) and must not call to the thunk while holding
the mutex.

The fragment allocator now requires separate protection and is protected with a
mutex at the device level.  Protecting at the device level, rather than pool,
allows retention of the current recursive design and allows calling Trim from
withing Allocate.  This could be made finer (pool level locks) but would
require backing out of Allocate entirely to call Trim.  Trim and any retried
Allocation must be done in isolation (per device) or we may report OOM when
memory is actually available in some pool's fragment cache.  So some device
level serialization is required in at least some paths.

Change-Id: I7c1e94d6965ffcc602b12fefdd3a6e97b84b5e00
2021-11-24 19:22:05 -06:00
Sean Keely 3227859ff2 Rework memory locks to allow device parallelism in alloc/free.
Prior solution used a single global lock to protect the memory tracking structures.
This change protects the memory tracking structure with a shared mutex (rw lock) in
shared (r) mode for memory allocations and frees so that long duration processes,
calling to kfd, can be done in parallel.  Operations which must modify the memory map
take the mutex in exclusive mode (w) and must not call to the thunk while holding
the mutex.

The fragment allocator now requires separate protection and is protected with a
mutex at the device level.  Protecting at the device level, rather than pool,
allows retention of the current recursive design and allows calling Trim from
withing Allocate.  This could be made finer (pool level locks) but would
require backing out of Allocate entirely to call Trim.  Trim and any retried
Allocation must be done in isolation (per device) or we may report OOM when
memory is actually available in some pool's fragment cache.  So some device
level serialization is required in at least some paths.

Change-Id: I7c1e94d6965ffcc602b12fefdd3a6e97b84b5e00


[ROCm/ROCR-Runtime commit: df55cb0450]
2021-11-24 19:22:05 -06:00
Icarus Sparry 6676d60516 Allow owner write permission
If we are packaging debug information then we need to edit the created
libraries and executables to extract the debug information. Due to a
bug in the tooling this requires write access to the created files.

Allow generation of only rpm and only deb files is specified on the
command line.

Signed-off-by: Icarus Sparry <icarus.sparry@amd.com>
Change-Id: I9a9df81102770ba681b1e7e0b5f704990f5435bb
2021-11-24 20:59:34 +00:00
Icarus Sparry d3315045ee Allow owner write permission
If we are packaging debug information then we need to edit the created
libraries and executables to extract the debug information. Due to a
bug in the tooling this requires write access to the created files.

Allow generation of only rpm and only deb files is specified on the
command line.

Signed-off-by: Icarus Sparry <icarus.sparry@amd.com>
Change-Id: I9a9df81102770ba681b1e7e0b5f704990f5435bb


[ROCm/rocprofiler commit: 6676d60516]
2021-11-24 20:59:34 +00:00
Satyanvesh Dittakavi 1caf1e4936 SWDEV-292714 - Add unique id for each allocation to support HIP_POINTER_ATTRIBUTE_BUFFER_ID
Change-Id: Ibb3fcb2d0bbbef03525fc884d5b3e9b5f6c11423


[ROCm/clr commit: c56317b2e0]
2021-11-24 06:10:50 -05:00
Satyanvesh Dittakavi c56317b2e0 SWDEV-292714 - Add unique id for each allocation to support HIP_POINTER_ATTRIBUTE_BUFFER_ID
Change-Id: Ibb3fcb2d0bbbef03525fc884d5b3e9b5f6c11423
2021-11-24 06:10:50 -05:00
Jonathan R. Madsen 9d5ebf9c3b Rename hosttrace to omnitrace (#18)
[ROCm/rocprofiler-systems commit: 39cf760a4e]
2021-11-24 04:59:59 -06:00
Jonathan R. Madsen 39cf760a4e Rename hosttrace to omnitrace (#18) 2021-11-24 04:59:59 -06:00
Chauncey Hui b3edecda2c SWDEV-2 - Change OpenCL version number from 3395 to 3396
[ROCm/clr commit: 0ab4ad1310]
2021-11-24 03:00:04 -05:00
Chauncey Hui 0ab4ad1310 SWDEV-2 - Change OpenCL version number from 3395 to 3396 2021-11-24 03:00:04 -05:00
Maneesh Gupta dc6003da81 Revert HIP version back to 4.4.0
[ROCm/hip commit: 26dc58d72a]
2021-11-24 11:06:31 +05:30
Maneesh Gupta 26dc58d72a Revert HIP version back to 4.4.0 2021-11-24 11:06:31 +05:30