Ioannis Assiouras
cb7776ef07
SWDEV-412496 - treat USE_PROF_API to always be true
...
Change-Id: I77cfac409215a33d11228a0f2da9ffba63c3d73a
2023-07-21 04:42:57 -04:00
Jatin Chaudhary
295963fe7a
SWDEV-411156 - Use _Float16 instead of unsigned short values
...
Change-Id: I23387bf27b2bd70fb47a3a36ffaf114e6c03e0bc
2023-07-20 01:03:32 +01:00
Jaydeep Patel
a9ff2c5a43
SWDEV-410751 - Consider null amd::memory is invalid.
...
Change-Id: I6f175f69e922cf5d7f8128c15754e1310419ccd9
2023-07-18 00:12:15 -04:00
Ioannis Assiouras
3a8e0dd1cb
SWDEV-398472 - Added new include file for openGL interop APIs for AMD backend
...
Change-Id: I255030b9e70e777c1ede998d5dcf554a266492c5
2023-07-17 11:57:36 -04:00
Anusha GodavarthySurya
b0e6f99ad7
SWDEV-392732 - Initial commit for graph doorbell optimization(AQL Buffering)
...
Change-Id: I451725006c54c249dc530c55d2af2a31594bf49b
2023-07-16 07:56:00 -04:00
Ioannis Assiouras
84559d0d6f
SWDEV-410266 - Do not show clangrt options support warning when HIP_CXX_COMPILER is not clang
...
Change-Id: Ie87ee04daaddc4297a1698b18d0f2d79deee5ae1
2023-07-14 16:49:46 -04:00
Ioannis Assiouras
238b973a5a
SWDEV-411086 - Provide path ROCM_PATH/llvm via the HINT argument instead of PATH in calls to find_package
...
PATHS have lower priority than system paths so if there is a clang installation in /usr/local find_package(Clang)
will pick that instead. To fix this provide the llvm path via the HINTS argument instead.
Change-Id: I57794a9a5c5fc26f12c60798fbc8e826c1880e13
2023-07-14 04:46:44 -04:00
Sourabh Betigeri
c46adc9b56
SWDEV-396657 - Using abort() instead of trap instruction to fix a compilation error
...
Change-Id: Ia6a3f58ca5891c5700dd7853e088c51fef1a1e09
2023-07-13 18:48:05 -04:00
sdashmiz
173de06658
SWDEV-408586 - set device active when malloc is called
...
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: Ib930d997b7d544d8b6fb42d2fea01fa8a4418e98
2023-07-13 11:39:58 -04:00
Ioannis Assiouras
791cea44f1
SWDEV-407818 - Fixed bug when opening LinkerFile fstream on windows
...
Change-Id: If6f083d9fa83066eb2b20ab24dceaa9df7a2f0a0
2023-07-07 13:25:04 -04:00
Ranjith Ramakrishnan
19f43aa273
SWDEV-408360 - Disable RPM spec autoreq field rather than disabling autoreqprov field
...
In hip-runtime-amd RPM package the autoreqprov field was disabled. So the package provides list will not have any libraries
Other packages that depends on hip libraries will be having the reported issue.
Disable the RPM autoreq field alone, so that the package provides list will have libraries
Change-Id: I40c30d01ea137867bdb64c2509c1fc86827c09dd
2023-07-07 12:22:02 -04:00
victzhan
134d6449b3
SWDEV-404886 - Modified CMakeLists.txt for opencl to generate pdb files in release mode
...
Change-Id: I2945144c3efb88c1045399cf1c33e4a82c53c0e6
2023-07-05 18:33:46 -04:00
taosang2
56daa6c489
SWDEV-408687 - Prevent updating dstXInBytes/srcXInBytes twice
...
Update pCopy->srcMemoryType and pCopy->dstMemoryType so
that ihipGetMemcpyParam3DCommand() won't redetect memory
type. This will prevent dstXInBytes and srcXInBytes getting
updated twice with offset in hipMemoryTypeUnified type.
Change-Id: Ief4ea81941e25d22bcafd213b3b84a65eb23cf94
2023-07-05 09:22:49 -04:00
Jaydeep Patel
5a68556c9b
SWDEV-407692 - Add def values to match non spt API declaration and match HIP_SYMBOL with nvidia_hip_runtime.h.
...
Change-Id: I8d87aa1b14fec6ca73544c78a47e7ad385b99e21
2023-07-01 01:05:46 -04:00
Jaydeep Patel
a8164d3e12
SWDEV-401781 - Auto Clean removes from map so check before remove while submit mem alloc node command.
...
Change-Id: Id004f75b307c2c769dee556c3d18e781830bcae1
2023-06-29 02:29:01 -04:00
kjayapra-amd
aa7c62db37
SWDEV-407691 - Always unmap file if HIP Runtime unbundler is used.
...
Change-Id: Ica15df31dfee3c495cf067a998e7e3b7c7397f40
2023-06-28 10:20:49 -04:00
sdashmiz
5f93a59798
SWDEV-403382 - param sanity check
...
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: Ibddb2be7d0543676ed9aed71ebb3f5877662c9ae
2023-06-27 19:03:34 -04:00
sdashmiz
41bbdfca94
SWDEV-405485 - fix the error to match cuda
...
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: Ia03a50e437c8eb189bc6578170b5ef20b470541c
2023-06-27 15:01:14 -04:00
ajay
09345dc7a2
SWDEV-407292 - hip-lang for windows
...
Change-Id: Id64bbfc8d62796b4f158e53f48273a09c928c8cc
2023-06-27 14:18:58 -04:00
Sourabh Betigeri
a77fb5a1dd
SWDEV-396656 - Adds meta_group_rank and meta_group_size APIs in ROCm CG
...
Change-Id: I2ded1a97379dfa736219cffe28fe051c58ea1260
2023-06-27 12:24:10 -04:00
taosang2
7bea186750
SWDEV-407139 - Update __hipMapVector
...
Update __hipMapVector to fix surface test
failure
Change-Id: I6179d9f3b2ddd4e42b9a6f7f3912322cfca22cff
2023-06-26 23:56:05 -04:00
Julia Jiang
a4cccd3b0e
SWDEV-390597 - NoGpuTst test of Catch2 fails with docker
...
Change-Id: Ibf65e0ec57d47357e0afd119200622e223850b1e
2023-06-26 10:21:57 -04:00
taosang2
d9955b6707
SWDEV-407139 - Update __hipMapVector
...
Update __hipMapVector for C++11
Change-Id: I6179d9f3b2ddf4e42b9a6f7f3912322cfca02cfe
2023-06-25 23:15:21 -04:00
taosang2
e9e69f4c07
SWDEV-368553 - Fix C build failure
...
Change-Id: I56d760fa6cf8544100e3bcf3d35129bd16d8a42f
2023-06-23 18:47:53 -04:00
sdashmiz
2cdaf7e80f
SWDEV-405485 - move the param validation
...
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: Ic3a27c47a88954da866a91494bcfb8721f33ad2b
2023-06-22 23:33:48 -04:00
taosang2
f03c11491b
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
2023-06-22 17:24:21 -04:00
pghafari
9e08ecdd16
SWDEV-406821 - use int32 for grid y,z till rocm 6
...
Change-Id: If9eee4dd5553cc81e283cb2211cc69884808d5c1
2023-06-22 09:42:00 -04:00
Ioannis Assiouras
0af9788e32
SWDEV-406894 - Fix segfault when access HIPRTC_JIT_LOG_VERBOSE from options buffer
...
Change-Id: I24143dfb726d9a71fdb17b03d5b5dd910b54f5bb
2023-06-22 00:53:29 -04:00
Sourabh Betigeri
422d3ea035
SWDEV-402274 - Adds CG API group_dim() in class thread_block
...
Change-Id: I1c2569fffbc6fc730df9ba80786459c71140d327
2023-06-21 20:10:19 -04:00
Saleel Kudchadker
b2240bcda5
SWDEV-301667 - Better log
...
Change-Id: I3b5b3593cb0144e56a4ddea2fa29028544a73203
2023-06-20 14:26:44 -04:00
Jeremy Newton
03bfa61684
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
2023-06-19 11:41:46 -04:00
Jatin Chaudhary
be02e1e524
SWDEV-399522 - Fix the issue #2 raised on github clr repo. Adds signed long long atomics
...
Change-Id: I09c386d45e219e472d2da1449f678b9d17fe3e2e
2023-06-16 08:53:45 -04:00
Jaydeep Patel
a6e72de83d
SWDEV-403768 - Check mem type is managed and result mem addresses are not null.
...
Change-Id: Ib40c468a981e0dd42b2da65aeb7543b11af4bc90
2023-06-16 08:49:21 -04:00
Jaydeep Patel
0a20da39cd
SWDEV-403770 - Add validations.
...
Change-Id: If36202ba9777d2a0d6f8ee92982dbff92bafe81a
2023-06-16 02:37:25 -04:00
sdashmiz
38a67df312
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
2023-06-15 12:17:22 -04:00
sdashmiz
cc85289739
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
2023-06-15 12:17:09 -04:00
German
1a0c3e4dc4
SWDEV-311270 - Add IPC support for memory pools
...
Initial implementation for hipMemPoolExportToShareableHandle,
hipMemPoolImportFromShareableHandle,
hipMemPoolExportPointer and hipMemPoolImportPointer
Change-Id: I0ebdc48e9163b394ded560adca6c38bbc5aee7d1
2023-06-15 11:36:52 -04:00
Jatin Chaudhary
f7f70a0880
SWDEV-400136 - change make_complex function name to make_hipComplex
...
Change-Id: Ia276610286df80ec35fe11f303eb9919eeda87dd
2023-06-15 09:02:38 -04:00
Ioannis Assiouras
d2e36bc047
SWDEV-386069 - Added nvidia and AMD config.cmake files as part of the dev package
...
Change-Id: I3c9a65b287822d91407996ca59ac90051b749923
2023-06-07 04:55:52 -04:00
Rahul Garg
17c052ca9a
SWDEV-379678 - Take hipcc/hipconfig from hipcc
...
Change-Id: I53a6e5108e142860747186c0e7ed4fc2cb384a69
2023-06-06 17:21:59 -04:00
Ioannis Assiouras
4f5dfa77bd
SWDEV-401852 - Do not define hipCreateChannelDesc for long types in LP64
...
Change-Id: I56881a229ea666269d575c6bdfde5081562ec009
2023-06-06 14:28:15 -04:00
Jaydeep Patel
9daf8e3177
SWDEV-404118 - Change to uint.
...
Change-Id: Ib9ced171a4330e868a584bfb86d7ee5418e784ed
2023-06-06 13:17:56 -04:00
Ajay
16c6b365c2
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
2023-06-06 12:11:41 -04:00
Maneesh Gupta
68238c99d2
SWDEV-397358 - Revert "Return hipErrorNotSupported for unsupported APIs"
...
This reverts commit c6647487e0 .
Change-Id: Idb18e1ce6bcfc1da144fabf1ba01329f4f6604a5
(cherry picked from commit 8d1b76f4c6dc44bd05f6b6117d5354c54bee5c0b)
2023-06-05 04:55:33 -04:00
Satyanvesh Dittakavi
287f607d2b
SWDEV-395996 - Add double precision constants to math constants header
...
Fixes a typo and adds missing constants matching cuda
Change-Id: Iebf47d107af361cbd356c2a3b9cd6ef121d01363
2023-06-05 03:31:27 -04:00
Jaydeep Patel
0064fac887
SWDEV-403762 - Fill pciBusId even if len <=12.
...
Change-Id: Iaf1b3314f4ae5597d42d54eb4c977667ecbb9cfb
2023-06-02 10:47:21 +00:00
Ranjith Ramakrishnan
f788150132
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
2023-06-01 04:22:19 -04:00
Anusha GodavarthySurya
2f83719d12
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
2023-06-01 02:04:29 -04:00
Jacob Lambert
1171518b97
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
2023-05-30 13:47:26 -04:00
Jaydeep Patel
d576356505
SWDEV-401847 - Update atomicMin/Max for float and double.
...
Change-Id: Ib5be459b8a24f0739e299ed12c9f877f8baa02b1
2023-05-29 14:27:16 -04:00