Graphe des révisions

12401 Révisions

Auteur SHA1 Message Date
Ioannis Assiouras 9b78869e64 SWDEV-404865 - Remove unused macro definitions from hip-lang-config.cmake
Change-Id: I726884d81b9cd83355f0f26306dca04256b82a4a
2023-07-28 12:27:53 -04:00
Ioannis Assiouras 24f1368ad3 SWDEV-386448 - Remove setting of HIP_CLANG_ROOT, HIP_PATH and ROCM_PATH in hip-config.cmake
Change-Id: I232d9078087483606fe30176092fb05743919ac8
2023-07-28 11:54:45 +01:00
Rahul Garg 8403f005f4 SWDEV-1 - Update CHANGELOG for ROCm 6.0
Change-Id: Id7eee4abbdf1b31d4123970ac9f64ee2446804c1
2023-07-27 18:27:20 -04:00
Jaydeep Patel ff1a999f66 SWDEV-408283 - Sync scratchRegs_, privateMemSize_ and workitemPrivateSegmentSize.
Change-Id: I623a7140810ff9867f8816bf4c8621a1fe921744
2023-07-27 00:31:54 -04:00
sdashmiz c7d8557eee SWDEV-389530 - [ABI Break]Match error with cuda
- match error for invalid params

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I2faf1191f665d8bd06d6ba315f440e87b1a5b8ab
2023-07-26 20:32:41 -04:00
kjayapra-amd 3a2615f5aa SWDEV-408889 - Add the logging message back that will print devices without COs from Bundle.
Change-Id: Ie6f95d5e9bafe6c3db192419e4d8829053cc8b65
2023-07-26 17:47:52 -04:00
Julia Jiang e6a11cbddf SWDEV-406233 - Add HIP new APIs in change log
Change-Id: If966d1b053562c1489f241948cb01437bfe289b7
2023-07-26 14:49:05 -04:00
Anusha GodavarthySurya fd97dde1e6 SWDEV-407568 - Move graph implementation to hip namespace
Change-Id: I7023f202a7e3eb25b17db6d3e361205594ae81a5
2023-07-26 06:52:45 +00:00
Anusha GodavarthySurya 0711320cb4 SWDEV-392732 - CP processes until doorbell ring
Change-Id: I3a0974435d3f95a40cea6ed326f744bcab5b4c0f
2023-07-25 13:10:31 -04:00
German Andryeyev b49e8e78e1 SWDEV-409815 - Fix image view cache issue
Add a view bit to avoid original resource destruction when parent
dependency doesn't exist with the image view cache

Change-Id: I8277afd575af8f29951c5d1a9f7d94d784251657
2023-07-25 12:30:04 -04:00
Jatin Chaudhary f136a576f5 SWDEV-264166 - [ABI Break] goodbye gcnArch, hello gcnArchName
Change-Id: I4b31284243a801f92f0be9468c25db7d027d9a13
2023-07-25 02:51:29 -04:00
Lang Yu c674d94a12 SWDEV-396372 - Add support for gfx1150 and gfx1151
Change-Id: If97710f18fbb61bead5cfe92ce11e11b4895b029
Signed-off-by: Lang Yu <Lang.Yu@amd.com>
2023-07-24 20:11:03 -04:00
Jatin Chaudhary b67d055eb6 SWDEV-412457 - remove unused header, add correct header for cpp
Change-Id: I2192daec7c033e94097c26db6177e14558a8728d
2023-07-21 11:30:59 -04:00
Ajay 2205684f6c SWDEV-411709 - rename .hipVersion to version. Fix path to share/hip
Change-Id: Ic7ec170f2fc6e3197d9a37b28dfc1d0b9611954b
2023-07-21 11:04:41 -04:00
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
Saleel Kudchadker 5447cf8872 SWDEV-301667 - Disable HostBlit copy for HIP
Change-Id: I46333ff42e8c1d402ece97e3ead7b539a27c3f82
2023-07-17 17:49:11 -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
Todd tiantuo Li 04b9ab49eb SWDEV-333557 - add PAL_HIP_IPC_FLAG for PAL HIP device allocations
Change-Id: I9017f4e3b03d4817bf233c788e30775fb2297589
2023-07-17 08:10:25 -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
kjayapra-amd 8c7f59663f SWDEV-408891 - Only register the host pointer to the current device.
Change-Id: If5397f148638e3b7d542b9e6fb8ac749a602b35e
2023-07-12 21:44:52 -04:00
Todd tiantuo Li 8434feed16 SWDEV-333557 - 1.Add support for IPC memory to enable hipIpcGetMemHandle() and hipIpcOpenMemHandle() in PAL path. Set interprocess flag for device allocations in HIP PAL. 2.Fix PAL IPC path with ResourceCache and SubAllocation 3.Minor fixes for IpcBuffer constructor and IpcAttach 4.Remove redundant checks that may go wrong
Change-Id: Ie9d99847c7c2c7b3b2aaefaaf60d23bf71b68635
2023-07-12 17:49:32 -04:00
German Andryeyev 6b89980fb2 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
2023-07-11 11:22:29 -04:00
Alex Xie 7912f3af89 SWDEV-409299 - Vega clinfo is not working
Change-Id: Ia48bc6f130bd102dff210b105de6f9c02ebbe012
2023-07-10 09:53:50 -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
Sourabh Betigeri 2601b5f5aa SWDEV-396656 - Adds a changelog reagrding inclusion of meta_group_rank/size
Change-Id: I251461832caa05df307db16727b4e8e01c7e71c9
2023-07-06 16:39:44 -04:00
German ad2c1e899a 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
2023-07-06 11:58:16 -04:00
Maneesh Gupta 96fb1ac289 SWDEV-1 - Bump min required ROCr version
ROCr version needs to be > 1.11 due to aca7d9e14a

Change-Id: I836dd5dc4ad5626120661ba19bad2e36dccbe36c
2023-07-06 05:17:52 +00:00
kjayapra-amd aca7d9e14a FEAT-47686 - Changes to support new uncached memory segment in ROCr.
Change-Id: I0ba8769d6737cdf1cc8a8644b2e82109f584a430
2023-07-05 20:47:51 -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 90f53925a3 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 2c9c58e7bb.

Change-Id: I077135a726320eb109888f0e7442120dc852ad3e
2023-07-05 04:41:40 +00: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
Rakesh Roy 8c1232124e 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
2023-06-30 01:09:01 -04:00
Saleel Kudchadker 770b2a4711 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
2023-06-29 13:54:55 -04:00
kjayapra-amd a034995f81 SWDEV-408213 - Move the init_heap blit kernel inside linear blit kernel grouping.
Change-Id: Id540018d4cceab5f01f614f7d49ef42505e69039
2023-06-29 10:36:53 -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
German Andryeyev d29755452b 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
2023-06-28 09:44:05 -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
Saleel Kudchadker 0a3d4bd4d4 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
2023-06-27 18:15:26 -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