sdashmiz
f07e8cbc95
SWDEV-403382 - param sanity check
...
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: Ibddb2be7d0543676ed9aed71ebb3f5877662c9ae
[ROCm/clr commit: 5f93a59798 ]
2023-06-27 19:03:34 -04:00
sdashmiz
780ab907ca
SWDEV-405485 - fix the error to match cuda
...
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: Ia03a50e437c8eb189bc6578170b5ef20b470541c
[ROCm/clr commit: 41bbdfca94 ]
2023-06-27 15:01:14 -04:00
ajay
d124c2ff0c
SWDEV-407292 - hip-lang for windows
...
Change-Id: Id64bbfc8d62796b4f158e53f48273a09c928c8cc
[ROCm/clr commit: 09345dc7a2 ]
2023-06-27 14:18:58 -04:00
Sourabh Betigeri
4ed9d80104
SWDEV-396656 - Adds meta_group_rank and meta_group_size APIs in ROCm CG
...
Change-Id: I2ded1a97379dfa736219cffe28fe051c58ea1260
[ROCm/clr commit: a77fb5a1dd ]
2023-06-27 12:24:10 -04:00
taosang2
3de5e3bba3
SWDEV-407139 - Update __hipMapVector
...
Update __hipMapVector to fix surface test
failure
Change-Id: I6179d9f3b2ddd4e42b9a6f7f3912322cfca22cff
[ROCm/clr commit: 7bea186750 ]
2023-06-26 23:56:05 -04:00
Julia Jiang
78fe0ef04c
SWDEV-390597 - NoGpuTst test of Catch2 fails with docker
...
Change-Id: Ibf65e0ec57d47357e0afd119200622e223850b1e
[ROCm/clr commit: a4cccd3b0e ]
2023-06-26 10:21:57 -04:00
taosang2
b005d758b9
SWDEV-407139 - Update __hipMapVector
...
Update __hipMapVector for C++11
Change-Id: I6179d9f3b2ddf4e42b9a6f7f3912322cfca02cfe
[ROCm/clr commit: d9955b6707 ]
2023-06-25 23:15:21 -04:00
taosang2
0d9cc9efd2
SWDEV-368553 - Fix C build failure
...
Change-Id: I56d760fa6cf8544100e3bcf3d35129bd16d8a42f
[ROCm/clr commit: e9e69f4c07 ]
2023-06-23 18:47:53 -04:00
sdashmiz
6c174f79fa
SWDEV-405485 - move the param validation
...
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: Ic3a27c47a88954da866a91494bcfb8721f33ad2b
[ROCm/clr commit: 2cdaf7e80f ]
2023-06-22 23:33:48 -04:00
taosang2
9aa3a87b66
SWDEV-368553 – Add missing mipmap Apis
...
Add missing mipmap Apis’ implementation.
Fix some bugs of mimpmap apis.
Use hipmipmappedArray to differentiate cuda
and driver apis on Nvidia.
Change-Id: I6079d9f3b2ddf4e42b9a6f7f3902322cfca02cfd
[ROCm/clr commit: f03c11491b ]
2023-06-22 17:24:21 -04:00
pghafari
b01ca8b9c7
SWDEV-406821 - use int32 for grid y,z till rocm 6
...
Change-Id: If9eee4dd5553cc81e283cb2211cc69884808d5c1
[ROCm/clr commit: 9e08ecdd16 ]
2023-06-22 09:42:00 -04:00
Ioannis Assiouras
a1c01b7d34
SWDEV-406894 - Fix segfault when access HIPRTC_JIT_LOG_VERBOSE from options buffer
...
Change-Id: I24143dfb726d9a71fdb17b03d5b5dd910b54f5bb
[ROCm/clr commit: 0af9788e32 ]
2023-06-22 00:53:29 -04:00
Sourabh Betigeri
c00cd118d3
SWDEV-402274 - Adds CG API group_dim() in class thread_block
...
Change-Id: I1c2569fffbc6fc730df9ba80786459c71140d327
[ROCm/clr commit: 422d3ea035 ]
2023-06-21 20:10:19 -04:00
Saleel Kudchadker
60b9dc4a45
SWDEV-301667 - Better log
...
Change-Id: I3b5b3593cb0144e56a4ddea2fa29028544a73203
[ROCm/clr commit: b2240bcda5 ]
2023-06-20 14:26:44 -04:00
Jeremy Newton
8b0ba068d3
Install .hipVersion into datadir for linux
...
Starting with LLVM 16, we can put .hipVersion in datadir for better
Linux FHS compliance:
https://github.com/llvm/llvm-project/commit/082593ff7aff68060bd66dccfa43493d07d9c255
For Windows, we can keep it status quo.
Change-Id: Id15ed0dac346fabec21ee060e7576ce085b1af70
[ROCm/clr commit: 03bfa61684 ]
2023-06-19 11:41:46 -04:00
Jatin Chaudhary
0cd45b8cc7
SWDEV-399522 - Fix the issue #2 raised on github clr repo. Adds signed long long atomics
...
Change-Id: I09c386d45e219e472d2da1449f678b9d17fe3e2e
[ROCm/clr commit: be02e1e524 ]
2023-06-16 08:53:45 -04:00
Jaydeep Patel
de6662f1b7
SWDEV-403768 - Check mem type is managed and result mem addresses are not null.
...
Change-Id: Ib40c468a981e0dd42b2da65aeb7543b11af4bc90
[ROCm/clr commit: a6e72de83d ]
2023-06-16 08:49:21 -04:00
Jaydeep Patel
600ad0e9dc
SWDEV-403770 - Add validations.
...
Change-Id: If36202ba9777d2a0d6f8ee92982dbff92bafe81a
[ROCm/clr commit: 0a20da39cd ]
2023-06-16 02:37:25 -04:00
sdashmiz
2216908962
SWDEV-403638 - Fix warnings
...
- disable deprecated function use warning
- disalbe size_t to .type' warning
- disable conversion from 'type1' to 'type2' warning
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: I64161fd37cf56de3d132102103267ae8da40193a
[ROCm/clr commit: 38a67df312 ]
2023-06-15 12:17:22 -04:00
sdashmiz
2e960fae8f
SWDEV-403063 - Clean up hip graph
...
- Replace dynamic allocation with embedded struct in hip graph
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: Idfe3f7393fa50d6e510d4c88f779408f96d3accb
[ROCm/clr commit: cc85289739 ]
2023-06-15 12:17:09 -04:00
German
af5944dc71
SWDEV-311270 - Add IPC support for memory pools
...
Initial implementation for hipMemPoolExportToShareableHandle,
hipMemPoolImportFromShareableHandle,
hipMemPoolExportPointer and hipMemPoolImportPointer
Change-Id: I0ebdc48e9163b394ded560adca6c38bbc5aee7d1
[ROCm/clr commit: 1a0c3e4dc4 ]
2023-06-15 11:36:52 -04:00
Jatin Chaudhary
8913c4de4f
SWDEV-400136 - change make_complex function name to make_hipComplex
...
Change-Id: Ia276610286df80ec35fe11f303eb9919eeda87dd
[ROCm/clr commit: f7f70a0880 ]
2023-06-15 09:02:38 -04:00
Ioannis Assiouras
af03b2c8d2
SWDEV-386069 - Added nvidia and AMD config.cmake files as part of the dev package
...
Change-Id: I3c9a65b287822d91407996ca59ac90051b749923
[ROCm/clr commit: d2e36bc047 ]
2023-06-07 04:55:52 -04:00
Rahul Garg
cea26614db
SWDEV-379678 - Take hipcc/hipconfig from hipcc
...
Change-Id: I53a6e5108e142860747186c0e7ed4fc2cb384a69
[ROCm/clr commit: 17c052ca9a ]
2023-06-06 17:21:59 -04:00
Ioannis Assiouras
917dc7ee82
SWDEV-401852 - Do not define hipCreateChannelDesc for long types in LP64
...
Change-Id: I56881a229ea666269d575c6bdfde5081562ec009
[ROCm/clr commit: 4f5dfa77bd ]
2023-06-06 14:28:15 -04:00
Jaydeep Patel
7be6ca6306
SWDEV-404118 - Change to uint.
...
Change-Id: Ib9ced171a4330e868a584bfb86d7ee5418e784ed
[ROCm/clr commit: 9daf8e3177 ]
2023-06-06 13:17:56 -04:00
Ajay
06213e3b4b
SWDEV-400515 - populate __HIP_NO_IMAGE_SUPPORT flag
...
MI300 does not support image APIs.
Apps to use __HIP_NO_IMAGE_SUPPORT instead of arch
Change-Id: I91178bfd27ea7b7188e7a958a876c0264f4469aa
[ROCm/clr commit: 16c6b365c2 ]
2023-06-06 12:11:41 -04:00
Maneesh Gupta
0be27c38f8
SWDEV-397358 - Revert "Return hipErrorNotSupported for unsupported APIs"
...
This reverts commit 32a73102ea .
Change-Id: Idb18e1ce6bcfc1da144fabf1ba01329f4f6604a5
(cherry picked from commit 5c38999efe11243dcdd8cc5244172e6840c47492)
[ROCm/clr commit: 68238c99d2 ]
2023-06-05 04:55:33 -04:00
Satyanvesh Dittakavi
d7b529ff6e
SWDEV-395996 - Add double precision constants to math constants header
...
Fixes a typo and adds missing constants matching cuda
Change-Id: Iebf47d107af361cbd356c2a3b9cd6ef121d01363
[ROCm/clr commit: 287f607d2b ]
2023-06-05 03:31:27 -04:00
Jaydeep Patel
911002f262
SWDEV-403762 - Fill pciBusId even if len <=12.
...
Change-Id: Iaf1b3314f4ae5597d42d54eb4c977667ecbb9cfb
[ROCm/clr commit: 0064fac887 ]
2023-06-02 10:47:21 +00:00
Ranjith Ramakrishnan
fe2a510c08
SWDEV-366831 - Compile time flag to switch between #warning and #error message
...
Using backward compatibility paths will provide #warning message be default.
Compile time option added to enable/disable the #error message.
Updated the backward compatibility message
Change-Id: I3bab00df26145991b32176d2d76977c2e953bf5f
[ROCm/clr commit: f788150132 ]
2023-06-01 04:22:19 -04:00
Anusha GodavarthySurya
729779a3b3
SWDEV-399098 - Change hip_init lock to use std::call_once
...
Updating hip_init lock to use std::call_once fixed Performance
drops in TF benchmarks for FP16
Change-Id: Ib1125ac66806b232057ba183e296ea4d0642d08d
[ROCm/clr commit: 2f83719d12 ]
2023-06-01 02:04:29 -04:00
Jacob Lambert
911dbabdff
SWDEV-380857 - Remove space in "Linker Program" used to set Comgr object name
...
Not a required change, but it does make dealing with temporary files generated
by Comgr easier.
Change-Id: I9c43138dd2a6c4fea965b57fbce7a087ab2bbd28
[ROCm/clr commit: 1171518b97 ]
2023-05-30 13:47:26 -04:00
Jaydeep Patel
6ab03957bb
SWDEV-401847 - Update atomicMin/Max for float and double.
...
Change-Id: Ib5be459b8a24f0739e299ed12c9f877f8baa02b1
[ROCm/clr commit: d576356505 ]
2023-05-29 14:27:16 -04:00
sdashmiz
9a3d3aef8c
SWDEV-360031 - Event record clean up
...
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: Ic7b5edd501c5f61b2bce87252ac040cbc4083006
[ROCm/clr commit: 1e9dfdfe99 ]
2023-05-29 11:42:16 -04:00
Jeremy Newton
b1266e557e
SWDEV-361988 - Fix hip library install permissions
...
"FILES" installs files as 644, but we want libraries to be 755, which
we can do with "PROGRAMS".
Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com >
Change-Id: I155ed77482839ff6d71f90239a014d239e20f4b8
[ROCm/clr commit: 2cda949920 ]
2023-05-25 22:47:32 -04:00
Satyanvesh Dittakavi
094b2bfa9e
SWDEV-401850 - Fix hipCreateChannelDescHalf APIs
...
- Address ChannelDescHalf1 and ChannelDescHalf2 APIs not returning
correct Channel Descriptors in amd headers
- Add missing hipCreateChannelDescHalf APIs in nvidia headers
Change-Id: I558847425c2459d3cde329ca2e926d882bb0a9dd
[ROCm/clr commit: 586731c2cc ]
2023-05-25 04:36:24 -04:00
Ioannis Assiouras
babff0ff73
SWDEV-401902 - Set default CMAKE_BUILD_TYPE in the top level CMakeLists.txt
...
Change-Id: I3a3e24da2dc7eec5feb1f748ea49af3df40d4cd9
[ROCm/clr commit: f945adf0bd ]
2023-05-24 14:11:18 -04:00
Ioannis Assiouras
5f30552398
wSWDEV-386069 - Allow find_package(hip) to work on nvidia platform
...
Change-Id: Ifadf683a6db42d4adadce92c7ebf6bd3e8d2245a
[ROCm/clr commit: 7e871698e3 ]
2023-05-24 14:12:22 +01:00
Jacob Lambert
2d9db8a102
SWDEV-371628 - Remove now-redundant Comgr devlib call from hipRTC
...
Because hipRTC is now using the newer
AMD_COMGR_COMPILE_SOURCE_WITH_DEVICE_LIBS_TO_BC, and now that this
action has been fixed for HIP compilations in Comgr, hipRTC no
longer needs separate Comgr call to link in the device libs.
Change-Id: Ibf9024cbaaab825584566e8d0b5fce60d7063dd8
[ROCm/clr commit: 283dd8352d ]
2023-05-23 18:34:59 -04:00
AravindanC
554b6efd98
SWDEV-383579 - Handling compiler-rt unrecognized error msg
...
Change-Id: Ia9070a575282bd263b0bb51eab1280552126c79e
[ROCm/clr commit: 82deb581cb ]
2023-05-23 11:28:26 -04:00
Jaydeep Patel
0a6fe33ab7
SWDEV-401231 - getMemoryObject returns nullptr for host system memory as arena is disabled for XNACK.
...
Change-Id: I84348e0ba2debf69f65c0e85179dad7827d30806
[ROCm/clr commit: b07a44c253 ]
2023-05-23 09:51:08 -04:00
Ranjith Ramakrishnan
849bfd9196
SWDEV-310152 - Use the RUNPATH provided by build scripts
...
RUNPATH in libraries will be : $ORIGIN
RUNPATH in binaries will be : $ORIGIN/../lib
Change-Id: I87b6a7d1f58f20499c3a0913d03701ac687d910d
[ROCm/clr commit: 31d1420c54 ]
2023-05-23 08:00:34 -04:00
kjayapra-amd
62302ac4fa
SWDEV-393910 - Adding CAS expanders under gfx941 tag.
...
Change-Id: I2c4bcf56be419d1f037b8555ad254a2dc49d0c5b
[ROCm/clr commit: feb22250f3 ]
2023-05-22 09:59:05 -04:00
Ioannis Assiouras
fce1d56110
SWDEV-401495 - Removed hip_hcc.def.in
...
Change-Id: Ia84503f0b9582f32de819f4ff95630fb024cd613
[ROCm/clr commit: 9d06e8c2d3 ]
2023-05-19 11:47:07 +01:00
sdashmiz
a88c64f86d
SWDEV-367877 - Detect cycle in graph
...
- detect cycle when graph is instantiated
- remove level calculation from add/remove node
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: I3f7432f91f70aec8e4fd866b2766256f8a9a0cfe
graph-cycle-corrections
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: I8a3cec9a5a503aac6ea1e85ff3dd2b972790fb1d
[ROCm/clr commit: 8578da8a3d ]
2023-05-18 09:44:39 -04:00
Jaydeep Patel
f7c3760996
SWDEV-389199 - Add GL Memory object to memory map so that it is acknowledged by getMemoryObject.
...
Change-Id: Ia58bc30ba8be016c1f004f6af01dd767f45f7905
[ROCm/clr commit: 97dc73f581 ]
2023-05-18 01:10:33 -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
sdashmiz
915677e9a0
SWDEV-396533 - correct _shfl function to match cuda
...
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: I311419fd25c055339f25fe0c7a132ec9ee225600
[ROCm/clr commit: 23e99dbb07 ]
2023-05-17 14:19:46 -04:00
Cordell Bloor
f7a7997c66
SWDEV-346940 - Remove default AMDGPU_TARGETS
...
hipcc and clang++ both have logic to detect the installed hardware
and to automatically select the appropriate AMDGPU target when it is
left unspecified. When the AMDGPU_TARGETS property is initialized with
a set of default values, it results in the addition of an explicit set
of --offload-arch flags being passed. These explicit architecture flags
disable the architecture autodetection in the compiler.
The resulting behaviour from setting fixed defaults makes it unpleasant
to compile with CMake because they increase the build times for projects
unless they are overriden (as most users do not need to build for all
five default architectures). The fixed defaults are also troublesome for
users with hardware not included in the default set (e.g., gfx1011,
gfx1031, gfx1100).
A possible alternative might be to detect the architecture within
hip-config.cmake rather than running the detection logic on each
compiler invocation. However, this approach is simpler.
Change-Id: I9495d766b7eed03852eb4dc72b0aabe4100bc32c
Signed-off-by: Cordell Bloor <Cordell.Bloor@amd.com >
[ROCm/clr commit: e1bed6f354 ]
2023-05-16 16:35:09 -06:00