Maneesh Gupta
045ec1919e
Revert "SWDEV-264166 - [ABI Break] goodbye gcnArch, hello gcnArchName"
...
This reverts commit 20add33513 .
Change-Id: Ia7b9ca115be4f9591b195194eed967fc6c330012
[ROCm/clr commit: 8c89d16572 ]
2023-07-31 21:41:12 -04:00
Jatin Chaudhary
20add33513
SWDEV-264166 - [ABI Break] goodbye gcnArch, hello gcnArchName
...
Change-Id: I4b31284243a801f92f0be9468c25db7d027d9a13
[ROCm/clr commit: f136a576f5 ]
2023-07-25 02:51:29 -04:00
pghafari
9eda493469
SWDEV-399734, SWDEV-399733 - update maxGridDim for y and z
...
Change-Id: Id5b1dd2491798dd20a0672362f445ab4de164f6d
[ROCm/clr commit: fb82b292c2 ]
2023-05-17 19:03:04 -04:00
German
8d97827417
SWDEV-353281 - VM support in mempool for graphs
...
The change enables VM support in graphs on Windows. That allows
to avoid caching of all allocations at the cost of map/unmap
overhead during memory create/destroy.
Change-Id: I792be00fba099e5e5d3cd44a963e1dfd6976a86d
[ROCm/clr commit: 04b696abee ]
2023-05-05 15:31:26 -04:00
pghafari
505bce23be
SWDEV-369567 - dimension check update
...
Change-Id: I31deb5070d4852db7dd6d37f9a514965f387698e
[ROCm/clr commit: 31b362bf6e ]
2023-05-02 08:04:04 -04:00
sdashmiz
8e2c75defb
SWDEV-387508 - do not treat uuid as string
...
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: I4de88330650eba4e4259686cdb5fb089b17aa8e4
[ROCm/clr commit: 261ce9837c ]
2023-04-25 09:52:12 -04:00
German
56dedad98b
SWDEV-380703 - sync all streams individually
...
Avoid syncing blocking streams with the default stream,
since that introduces extra command dependencies and
doesn't allow to destroy memory after last submission
Change-Id: I618e9bd2091c4cf9157125612d8c4759030c5a80
[ROCm/clr commit: 1e88d2c52f ]
2023-04-05 16:37:49 +00:00
Sourabh Betigeri
02a3fcff26
SWDEV-326798 - Revert "SWDEV-326798 - Changes in stream sync behavior"
...
This reverts commit 1932e88970 .
Reason for revert: HIP tests on windows fails
Change-Id: I795ed19d76a41e2fd9971414cefa5bd3be45d4bc
[ROCm/clr commit: 08c8972d97 ]
2023-02-28 02:28:12 -05:00
Sourabh Betigeri
1932e88970
SWDEV-326798 - Changes in stream sync behavior
...
Change-Id: If6d0b3876a9bf197c7e49273eaa5ca5bfae46d0b
[ROCm/clr commit: 51adec2730 ]
2023-02-27 16:48:14 -05:00
Ioannis Assiouras
ea7d5037b9
SWDEV-381402 - Remove unused getNullStream() from device. Make stream destructor private.
...
Change-Id: Idde30a8bfe97a525bd9f9fb50698a5cb14b798fc
[ROCm/clr commit: 06927fd3c1 ]
2023-02-24 10:42:46 +00:00
German Andryeyev
2e0fd95d74
SWDEV-353281 - Add support for MemPool in graphs
...
Implement hipDeviceGetGraphMemAttribute, hipDeviceSetGraphMemAttribute
and hipDeviceGraphMemTrim
Change-Id: I4f8fc1250ce1e8b7636d43d59ba7343158e45088
[ROCm/clr commit: 314bdba632 ]
2023-02-23 12:49:53 -05:00
Ioannis Assiouras
2633e62801
SWDEV-381402 - Derive hip::Stream from amd::HostQueue
...
Change-Id: I6c1aca5eb350c32d974ae4ffcc725705355956d8
[ROCm/clr commit: e3633dc8f4 ]
2023-02-21 18:12:03 -05:00
pghafari
24b7348137
SWDEV-377571 - adding scopelock for hipDeviceReset
...
Change-Id: I3dd95a40d6abff721a4774f26e99d1162bafdfa1
[ROCm/clr commit: 03f62b90ef ]
2023-02-07 11:29:20 -05:00
pghafari
b0bc6d6c7e
SWDEV-356549 - del Null strm in destroyAllStreams
...
Change-Id: Ie04172ee39e6333247d07791dffda753a8b9ef41
[ROCm/clr commit: a643c199de ]
2022-12-29 15:45:54 -05:00
Maneesh Gupta
0d1cbd6697
SWDEV-342014 - Handle partial fills in hipDeviceGetName
...
Change-Id: Ic9f1743c6a8439d88acc6dd1ed496013d551f6ec
[ROCm/clr commit: 8f4e94d532 ]
2022-11-11 14:52:48 -05:00
Julia Jiang
1d74b9271a
SWDEV-342013,SWDEV-342014 - Update validation on hipDeviceGet and hipDeviceGetName
...
Change-Id: I719da6169ce9f505449e07775cb94a5718f79ca3
[ROCm/clr commit: 3415f0a56e ]
2022-10-31 11:44:40 -04:00
Maneesh Gupta
a2790df62c
Revert "SWDEV-264166 - Remove gcnArch"
...
This reverts commit d12900e000 .
Reason for revert: Moved out to future release
Change-Id: I36b046c8681371baa9e0ccb69d46dad633ee5706
[ROCm/clr commit: d328d72fab ]
2022-07-27 05:22:48 -04:00
Jason Tang
d12900e000
SWDEV-264166 - Remove gcnArch
...
Change-Id: Ief4bdbdd5373adb73a291633067c9a8e11f05a32
[ROCm/clr commit: ab303e6440 ]
2022-07-26 11:49:19 -04:00
German Andryeyev
3de1a9e36c
SWDEV-311271 - Make sure memory pool can accept default stream
...
Add lock protection for access to the pool list.
Remove destroyed stream from the list of the safe streams
Change-Id: I1863b89bd3f5e188c161227cc790c3adaf72cc58
[ROCm/clr commit: 5957ff9f7b ]
2022-04-18 10:34:21 -04:00
haoyuan2
0d4efc9f0f
SWDEV-328274 - Move DLLMain from VDI layer to HIP/OCL layers
...
Change-Id: Ibd3388f0981672cd209d7370f8a28b2883abdea2
[ROCm/clr commit: cb4aabd285 ]
2022-04-12 11:00:20 -04:00
German Andryeyev
e7d2493402
SWDEV-311271 - Initial mempool implementation
...
HIP_MEM_POOL_SUPPORT controls memory pool support in runtime.
Currently it's disabled by default. The initial change doesn't
include: IPC, MGPU, virtual memory alloc, suballoc, defragmentation,
internal dependencies.
Change-Id: Ibed8528ebec698b045ebb247e49c0ecd6e587ed7
[ROCm/clr commit: 539d264eb0 ]
2022-03-31 09:21:37 -04:00
Christophe Paquot
2a3402f063
SWDEV-323899 - More capping of caps
...
Change-Id: If8ba22d01326b85455eaaee55e1e2a4b9832ebb2
[ROCm/clr commit: 2ef41ff5be ]
2022-03-22 11:02:49 -04:00
Christophe Paquot
ad1164a80e
SWDEV-323899 - Cap deviceProps.maxTexture1DLinear to INT32_MAX
...
Change-Id: Iacfd4f44e5169994ff11b6303be63a15d5935955
[ROCm/clr commit: 375b8e5e8c ]
2022-03-16 16:54:27 -04:00
Satyanvesh Dittakavi
8524ca54bf
SWDEV-317716 - Add hipDeviceGetUuid API
...
Change-Id: I320c7bc11ddd7617e0246f6faf19135ad7363e73
[ROCm/clr commit: 2fd90ec7a4 ]
2022-03-16 00:23:44 -04:00
Ajay
c586965e36
SWDEV-327299 - strncpy to memcpy to avoid overflow warning
...
Change-Id: I0bb5aed76e74b4580bae71b6cb1ef2c17293a126
[ROCm/clr commit: ba6d6b377d ]
2022-03-11 17:37:30 -05:00
haoyuan2
6217103b57
SWDEV-298331 - Fix FreeLibrary throw exception issue on Windows
...
release HIP resource at DLL_PROCESS_DETACH point
Change-Id: Icfaf93d7d1be422b55dc0b17d1ba506abcd8d80b
[ROCm/clr commit: 9e31739919 ]
2022-02-25 18:12:00 -05:00
haoyuan2
86520ebd83
SWDEV-311585 - workaround dynamic loading functional issue in Blender
...
Change-Id: I815724c0bdcb712e40ec1ed11b9632fab7243f69
[ROCm/clr commit: d1a491b30b ]
2021-12-10 11:52:15 -08:00
agunashe
fae697b4d6
SWDEV-293742 - Update copyrights end year for hipamd
...
Change-Id: I08f620f84563a9214b59f1b943ed091b67229eab
[ROCm/clr commit: d9d9e81acb ]
2021-07-09 12:08:39 -04:00
Rahul Garg
dd95d3d23c
ROCMOPS-1956 - Push restructured code to hipamd
...
hipamd will have AMD's ROCCLR based HIP backend implementation
Change-Id: Id7de9634519b4ce46fca71a1b61f3d5b1e3fc459
[ROCm/clr commit: 19c84bc604 ]
2021-06-07 21:42:44 +00:00
Tao Sang
6227f3fae2
Remove hip-hcc codes: Part one
...
Remove hip-hcc codes from hip code base
Simplify hip CMakeLists.txt to exclude hip-hcc
Simplify cmake cmd for hip-rocclr building
Some minor fixes
Change-Id: I1ae357ecfd638d6c25bca293c1724b026be21ecd
[ROCm/clr commit: 1cba7ec965 ]
2020-12-09 15:49:47 -05:00
Yaxun (Sam) Liu
2406fa8a3d
Disable device side malloc ( #2009 )
...
* Disable device side malloc
Currently device side malloc is not working and takes excessive
device memory.
Disable it for now until a working malloc is implemented.
Change-Id: I1ad908c1c53a83752383b4be96688a848642c699
[ROCm/clr commit: d556c3425b ]
2020-04-14 16:07:14 +05:30
Aryan Salmanpour
a582f9797e
[HIP] add hip specific properties for cooperative kernel multi device
...
[ROCm/clr commit: 7bfb990ef7 ]
2020-03-03 13:25:36 -05:00
Jeff Daily
40688fbfc2
missing break statement in hipDeviceGetAttribute ( #1865 )
...
The break is missing for hipDeviceAttributeMaxTexture3DDepth.
[ROCm/clr commit: fe47fce496 ]
2020-02-13 14:22:56 +05:30
vsytch
4162b55dbe
Add missing texturePitchAlignment member to the hipDeviceProp_t struct. ( #1802 )
...
* Add missing texturePitchAlignment member to the hipDeviceProp_t struct.
* Add missing hipDeviceAttributeTexturePitchAlignment enumerator to the hipDeviceAttribute_t enum.
* Initialize texturePitchAlignment to 256. This works for gfx9+, but is technically overaligned in most cases for pre-gfx9.
* Add the texturePitchAlignment property to the NVCC path.
[ROCm/clr commit: 6da0c82b78 ]
2020-01-27 16:37:00 -08:00
Rahul Garg
81dd3751a6
Update error codes for hipGetDevice for doxygen and move up null check ( #1668 )
...
* [docs] Update error codes for hipGetDevice
* Move up out ptr check
[ROCm/clr commit: 13c2a31d7e ]
2019-11-20 21:35:27 +05:30
ansurya
4436a38e65
Added new device attributes ( #1377 )
...
* Added new device attributes
* updated comment
* updated with new device attributes supported
[ROCm/clr commit: e2a934f377 ]
2019-09-16 08:31:30 +00:00
Jeff Daily
68f674205e
consolidate thread local storage ( #915 )
...
* all thread local access now through single struct
* clean up old commented-out code, more use of GET_TLS()
* fewer calls to GET_TLS by passing tls as a funtion argument
* revert unnecessary change to printf
* fix failing tests due to TLS change
* fix merge conflicts in ihipOccupancyMaxActiveBlocksPerMultiprocessor
[ROCm/clr commit: f337ae1edb ]
2019-08-05 09:51:02 +00:00
wkwchau
7b0f478767
Added CooperativeLaunch and CooperativeMultiDeviceLaunch flag and property for hipDeviceGetAttribute() and hipGetDeviceProperties() ( #1247 )
...
[ROCm/clr commit: ed04e96e2d ]
2019-08-02 10:00:25 +00:00
wkwchau
75f1bb21b3
Added query of hipDeviceAttributeHdpMemFlushCntl and hipDeviceAttribu… ( #1238 )
...
* Added query of hipDeviceAttributeHdpMemFlushCntl and hipDeviceAttributeHdpRegFlushCntl
* Added NVCC blocker for the hip*FlushCntl test cases
[ROCm/clr commit: abe6776677 ]
2019-08-01 16:03:35 +00:00
ansurya
8b8946f78b
Add Max Texture 1D,2D,3D device properties ( #1226 )
...
* Add Max Texture 1D,2D,3D device properties
* Corrected testcase to use enums defined in hipDeviceAttribute_t
* Added texture 1D,2D and 3D support for NVIDIA path
[ROCm/clr commit: 00aa42e05f ]
2019-07-18 03:18:50 +00:00
Wenkai Du
3d75b10e0b
Use NUMA distance for hop count calculation
...
[ROCm/clr commit: 56d2dc0022 ]
2019-05-15 21:50:35 +00:00
Maneesh Gupta
f657eba4a5
Implement hipExtGetLinkTypeAndHopCount for ROCm devices
...
Change-Id: Ie5bb4f640ac6d189c7fceeab22627a7494fd10bd
[ROCm/clr commit: 2f43f110d9 ]
2019-05-06 15:54:31 +05:30
Evgeny
96b7f0404e
renaming HIP_INIT_CB_API to HIP_INIT_API
...
[ROCm/clr commit: e362688adf ]
2018-11-13 15:33:26 +00:00
Evgeny
7519b3f75e
adding activity prof layer
...
[ROCm/clr commit: 084a68be63 ]
2018-11-13 15:33:26 +00:00
Yaxun Sam Liu
9a4744566f
Support malloc/free for hip-clang
...
[ROCm/clr commit: d17dc21c9c ]
2018-07-27 16:24:51 -04:00
Rahul Garg
065f0d8d8c
Add integrated device property
...
[ROCm/clr commit: 94f086e9cd ]
2018-06-02 13:11:16 +05:30
Maneesh Gupta
46ddefedee
Apply .clangformat to all repo source files
...
Change-Id: I7e79c6058f0303f9a98911e3b7dd2e8596079344
[ROCm/clr commit: 9e47fccc89 ]
2018-03-12 11:29:03 +05:30
Ben Sander
cabf4d817c
Fix some cppcheck style issues.
...
[ROCm/clr commit: 5933ca7300 ]
2017-12-01 20:45:34 +00:00
Ben Sander
4df6b371ab
Add ns-level timer for HIP API routines
...
Refactor some miuses of ihipLogStatus, these should only be in top-level
HIP APIs and should be paired with HIP_API_INIT calls.
[ROCm/clr commit: dc7d993a02 ]
2017-10-30 20:20:51 +00:00
Rahul Garg
7c51575223
Device count check on input device id
...
[ROCm/clr commit: 04a5a36ef7 ]
2017-08-22 14:05:44 +05:30