Граф коммитов

12374 Коммитов

Автор SHA1 Сообщение Дата
German Andryeyev 116c9fd6c1 SWDEV-409815 - Fix image view cache issue
Make sure parent_ field is cleared for the internal image views.
The internal image views don't require dependencies tracking.
The issue appeard only when Navi10 pitch workaround was enabled.

Change-Id: I376d212750085a9391f8c32fc2979dcb5d93c89c


[ROCm/clr commit: 6b89980fb2]
2023-07-11 11:22:29 -04:00
Alex Xie a7418845f8 SWDEV-409299 - Vega clinfo is not working
Change-Id: Ia48bc6f130bd102dff210b105de6f9c02ebbe012


[ROCm/clr commit: 7912f3af89]
2023-07-10 09:53:50 -04:00
Ioannis Assiouras 41381e9557 SWDEV-407818 - Fixed bug when opening LinkerFile fstream on windows
Change-Id: If6f083d9fa83066eb2b20ab24dceaa9df7a2f0a0


[ROCm/clr commit: 791cea44f1]
2023-07-07 13:25:04 -04:00
Ranjith Ramakrishnan 73c16500c4 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


[ROCm/clr commit: 19f43aa273]
2023-07-07 12:22:02 -04:00
Sourabh Betigeri 43c2326328 SWDEV-396656 - Adds a changelog reagrding inclusion of meta_group_rank/size
Change-Id: I251461832caa05df307db16727b4e8e01c7e71c9


[ROCm/clr commit: 2601b5f5aa]
2023-07-06 16:39:44 -04:00
German b55398774b SWDEV-408650 - Report CL_DEVICE_HALF_FP_CONFIG query
If cl_khr_fp16 extension is enabled, then OCL runtime should report CL_DEVICE_HALF_FP_CONFIG.

Change-Id: I7c4ac48387f80bc704a475c57e5b52a462090d1b


[ROCm/clr commit: ad2c1e899a]
2023-07-06 11:58:16 -04:00
Maneesh Gupta 247c8ca332 SWDEV-1 - Bump min required ROCr version
ROCr version needs to be > 1.11 due to 03504e2f6c

Change-Id: I836dd5dc4ad5626120661ba19bad2e36dccbe36c


[ROCm/clr commit: 96fb1ac289]
2023-07-06 05:17:52 +00:00
kjayapra-amd 03504e2f6c FEAT-47686 - Changes to support new uncached memory segment in ROCr.
Change-Id: I0ba8769d6737cdf1cc8a8644b2e82109f584a430


[ROCm/clr commit: aca7d9e14a]
2023-07-05 20:47:51 -04:00
victzhan 7e80d81b1e SWDEV-404886 - Modified CMakeLists.txt for opencl to generate pdb files in release mode
Change-Id: I2945144c3efb88c1045399cf1c33e4a82c53c0e6


[ROCm/clr commit: 134d6449b3]
2023-07-05 18:33:46 -04:00
taosang2 828c7714e0 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


[ROCm/clr commit: 56daa6c489]
2023-07-05 09:22:49 -04:00
Jaydeep Patel 6fa299f3a3 Revert "SWDEV-403995 - uniform_work_group_size is interger type is 1 for true and 0 for false. Lighting kernel's init sets uniform work group flag and hence not need to set it from options."
This reverts commit 063b3d4e51.

Change-Id: I077135a726320eb109888f0e7442120dc852ad3e


[ROCm/clr commit: 90f53925a3]
2023-07-05 04:41:40 +00:00
Jaydeep Patel c2b7aa6b73 SWDEV-407692 - Add def values to match non spt API declaration and match HIP_SYMBOL with nvidia_hip_runtime.h.
Change-Id: I8d87aa1b14fec6ca73544c78a47e7ad385b99e21


[ROCm/clr commit: 5a68556c9b]
2023-07-01 01:05:46 -04:00
Rakesh Roy f887f2fc6f SWDEV-405329 - Fix cuMask issue for WGP mode
- Enable CUs adjacent pairwise for WGP mode
- In HostQueue::terminate() do not segfault if virtual device hasn't been created

Change-Id: I94402ff333308af5824878086cc238b3993d534d


[ROCm/clr commit: 8c1232124e]
2023-06-30 01:09:01 -04:00
Saleel Kudchadker 47894de700 SWDEV-384557 - Rename env var
- Rename HIP_USE_SDMA_QUERY to DEBUG_CLR_USE_SDMA_QUERY as this is
supposed to be a temporary env var for debug purposes only.

Change-Id: If6ebd52ab87624375a3df24ceccdcc05c60a65af


[ROCm/clr commit: 770b2a4711]
2023-06-29 13:54:55 -04:00
kjayapra-amd 4ad93e01f7 SWDEV-408213 - Move the init_heap blit kernel inside linear blit kernel grouping.
Change-Id: Id540018d4cceab5f01f614f7d49ef42505e69039


[ROCm/clr commit: a034995f81]
2023-06-29 10:36:53 -04:00
Jaydeep Patel 621b266d71 SWDEV-401781 - Auto Clean removes from map so check before remove while submit mem alloc node command.
Change-Id: Id004f75b307c2c769dee556c3d18e781830bcae1


[ROCm/clr commit: a8164d3e12]
2023-06-29 02:29:01 -04:00
kjayapra-amd 8969a60e98 SWDEV-407691 - Always unmap file if HIP Runtime unbundler is used.
Change-Id: Ica15df31dfee3c495cf067a998e7e3b7c7397f40


[ROCm/clr commit: aa7c62db37]
2023-06-28 10:20:49 -04:00
German Andryeyev 1de5c73c38 SWDEV-396088 - Add image view cache
Blit manager requires an image view to reduce the amount
of copy kernels. Creation/destruction of a view in ROCr is
an expensive operation. Thus, runtime can cache views for fast access.

Change-Id: Ia67d775b481cc8326d91215ca22d4a73c1dddb59


[ROCm/clr commit: d29755452b]
2023-06-28 09:44:05 -04:00
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
Saleel Kudchadker 9cb5f95a56 SWDEV-408180 - Remove largeBar memcpy
- Remove large bar memcpy path. Since we end up waiting for a barrier,
its defeating the true intent of the copy, Also memcpy over PCIE\XGMI is
introducing variability in perf for HPC apps like GROMACS

Change-Id: I3b5c9d9ce93333959c39023bf4f703e2ccb6e3af


[ROCm/clr commit: 0a3d4bd4d4]
2023-06-27 18:15:26 -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
Saleel Kudchadker 97fea3890c SWDEV-301667 - Enable SDMA profiling only when queue profiling
Change-Id: I9a62a2fbaefd54638c35f4b8fce2e9ea2da7af19


[ROCm/clr commit: bceec9d9a2]
2023-06-26 16:10:34 -04:00
Jatin Chaudhary bd7d119edd SWDEV-404816 - Default HIPCC_BIN_DIR to /opt/rocm/bin on Linux, incase user does not provide with one
Change-Id: I3a1dd467df787437ed923349776d3fe994928e0d


[ROCm/clr commit: 3fd7df3f4c]
2023-06-26 11:32:35 -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
ajay a8d5879f26 SWDEV-406687 - combining rocblitcl and palblitcl blit kernel defs
Change-Id: Ia312d73584a03491e8d574f424295b64df6de174


[ROCm/clr commit: d6946ffcbc]
2023-06-23 18:38:36 -04:00
Matt Arsenault eed1597e39 SWDEV-1 - Fix -Wfinal-dtor-non-final-class
rocclr/platform/external_memory.hpp:93:30: warning: class with destructor marked 'final' cannot be inherited from [-Wfinal-dtor-non-final-class]
   93 |     virtual ~ExternalImage() final {}

Change-Id: I56d760fa6c08544100e3bc03d35129bd16d8a428


[ROCm/clr commit: e9750de215]
2023-06-23 09:06:56 -04:00
Matt Arsenault 4af8b4ef0f SWDEV-1 - Fix -Winconsistent-missing-override
Change-Id: Ie69f234c755b112b7fe8ef7d00b8720bc178044c


[ROCm/clr commit: 98e0607f0e]
2023-06-23 09:04:28 -04:00
Ioannis Assiouras 320d7c1d9a SWDEV-405182 - Revert min alignment for abstract parameters stack to 16 bytes
Change-Id: I9e6ace281468e8ef11b011c58f5971ce8907f3c6


[ROCm/clr commit: 4add0e6563]
2023-06-23 04:39:51 -04:00
Rahul Garg 9293544234 SWDEV-389099 - Add initial CHANGELOG
Change-Id: I9091860684345a647ebe7167eb22a3aaf8df69a6


[ROCm/clr commit: 53ad3c6e5d]
2023-06-23 02:35:12 -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
Alex Xie 867d1fc66f SWDEV-382072 - One more case that needs workaround
Change-Id: Ief81dd898e4d59ba858f38a843d79be45b5ea944


[ROCm/clr commit: cfc10d0e1e]
2023-06-22 19:00:34 -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
Alex Xie c14a017d77 SWDEV-382072 - [Naiv 10]EncodeSDK H264 test fails
let ROCr and addrlib decided whether a pitch is supported.
Then, check if we uses workaround.

Also improve image performance for Navi 1x in some cases.

Change-Id: If8bda46648b23c1dcfa26608ca3bb9cd89fef430


[ROCm/clr commit: b961d4a970]
2023-06-22 10:40:31 -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
German c8e65415ea SWDEV-311270 - Clean-up IPC path in ROCclr
- Make IPC interfaces generic between devices and rely on the IPC buffer
for attach/detach logic

Change-Id: Id3c18d122030329b7ee532bbb6317de9dd6a0bbe


[ROCm/clr commit: 9aa6f25f1c]
2023-06-20 15:18:21 -04:00
Saleel Kudchadker 60b9dc4a45 SWDEV-301667 - Better log
Change-Id: I3b5b3593cb0144e56a4ddea2fa29028544a73203


[ROCm/clr commit: b2240bcda5]
2023-06-20 14:26:44 -04:00
Sourabh Betigeri 395c4f1b40 SWDEV-406750 - Fix to avoid a warning when compiling HIP runtime
Change-Id: If1d848d334bc0121a96655781fc60b0321213398


[ROCm/clr commit: 0330801846]
2023-06-20 12:16:16 -04:00
Konstantin Zhuravlyov cdaea3b1be SWDEV-325538 - Enable code object v5 by default
Change-Id: I8c2bd415461403366de6e8b9157dd2fa6dc0c2a6


[ROCm/clr commit: 5914ac3c6e]
2023-06-20 11:08:50 -04:00
German 00b9c77a3a SWDEV-404940 - Pass -cl-uniform-work-group-size to clang
Change-Id: I460dd848d439204e60f618669aef86f77e094c1a


[ROCm/clr commit: f13988b88b]
2023-06-19 19:44:29 -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
Saleel Kudchadker 2e67d925a1 SWDEV-384557 - Include query under env var
Change-Id: Ibe0335168f9ad0cb72abb2ed69a5e40d33ce7c1c


[ROCm/clr commit: 4510caed26]
2023-06-16 15:09:46 -07:00
ajay c4e5952687 SWDEV-404940 - __amd_rocclr_initHeap in pal.
Avoid Seg fault on Windows

Change-Id: I3901c003dd33222ec9e2600c519d8503f5e81c01


[ROCm/clr commit: 169d17f47f]
2023-06-16 11:48:42 -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