Ioannis Assiouras
7c24bf2275
SWDEV-443796 - Fixed regression in DX11->OpenCL texture sharing case
...
Change-Id: Ia7d6cb08706ce9b15252f5412c9f9c57d53b2e6e
[ROCm/clr commit: dca7bb22b6 ]
2024-02-05 05:08:11 +00:00
Rahul Manocha
7bccc07147
SWDEV-421025 - hipGraphInstantiateWithParams API changes
...
Change-Id: Ib07d4dd1698220b68ed27f91d58d3bd315a8804c
[ROCm/clr commit: 1a3901fa49 ]
2024-02-05 05:08:11 +00:00
Rahul Manocha
0aadfd0a6f
SWDEV-421025 - Hip Launch Attribute ID/Value datatype for rocprof
...
Change-Id: Icfcd1ecf2f2956ba015820ba250f06b438169a6a
[ROCm/clr commit: ceffb24416 ]
2024-02-05 05:08:11 +00:00
Saleel Kudchadker
423887c6f6
SWDEV-301667 - Better log
...
Display queue base pointer in the log. This can be co-related with AQL
packets
Change-Id: I544f9b6db6ae01c85e57e4b3f0b3fffefcd7c2ed
[ROCm/clr commit: 0567c3b720 ]
2024-02-05 05:08:11 +00:00
Anusha GodavarthySurya
5c0490f53b
SWDEV-422207 - Enable DEBUG_CLR_GRAPH_PACKET_CAPTURE environiment variable
...
Change-Id: I9bf72b9c1a56980352109bd4d42b54ecb2d1b8f9
[ROCm/clr commit: ae0368d12d ]
2024-02-05 05:08:11 +00:00
Jatin Chaudhary
7e4e75a53d
SWDEV-418291 - Add changelog for bfloat16 types
...
HIP now has bfloat16 types via amd_hip_bf16.h in hipamd, hip_bf16.h in
hip folder.
Change-Id: Ic4d227936c5013e4b5d577725b8f55bebdc15499
[ROCm/clr commit: 43c811bdd2 ]
2024-02-05 05:08:11 +00:00
Alex Xie
dcf9f5a27a
SWDEV-443538 - Fix cmake build warning
...
Use GLVND versin of GL
Change-Id: I1d6b0ec8672a232d017ad27a01803556992e8a49
[ROCm/clr commit: 370ff6ea3e ]
2024-02-05 05:08:11 +00:00
Ioannis Assiouras
3316766258
SWDEV-443018 - Restrict input range for value argument in hipPointerSetAttribute
...
Change-Id: I17b6448bf49aed49315a0b4c1426dcbe011735d9
[ROCm/clr commit: 5b72582474 ]
2024-02-05 05:08:11 +00:00
Shilei Tian
d6811208f4
SWDEV-442719 - Set CMP0074 to NEW to make sure find_package works correctly
...
If a system has LLVM installed, `find_package` could choose that one
even if we set `HIP_LLVM_ROOT`. `LLVM_ROOT` is ignored because of this
CMake policy is set to `OLD` by default.
Change-Id: I18fa0453afe170c229e92d6ddc386b43eb0c44f6
[ROCm/clr commit: a2a8dad980 ]
2024-02-05 05:08:11 +00:00
Saleel Kudchadker
cc0b04cc60
SWDEV-301667 - Reset profiler correlation_id_
...
- The correlation_id had random junk values which we were inserting in
the dispatch AQL packet even when no profiler was attached but if we had
a valid timestamp.
- Also make sure we dont even write the reserved2 field in the AQL
packet if no profiler attached.
Change-Id: Icdb7493198c1bb5e2d786a97e027288660854cd7
[ROCm/clr commit: 9a6ddae7b2 ]
2024-02-05 05:08:11 +00:00
Todd tiantuo Li
3445b57a43
SWDEV-438503 - Always report hipDeviceAttributeUnifiedAddressing as true.
...
Change-Id: I3119bd8f99c079280bde1ba32b3d26b474899e7d
[ROCm/clr commit: 60549b101c ]
2024-02-05 05:08:11 +00:00
Ioannis Assiouras
9c47344647
SWDEV-443109 - Fix for CXX compiler check in hip-config-amd.cmake
...
Change-Id: Ib6b8bc59a889ad2e4f440e847d9f2e7e8fb2cda2
[ROCm/clr commit: f28b1f1f1d ]
2024-02-05 05:08:11 +00:00
German Andryeyev
8b3c505b6f
SWDEV-440746 - Remove pending dispatch check for SDMA P2P
...
Change-Id: I7290345cfc60cd878fb39a06b03105441793c27b
[ROCm/clr commit: 842eda5e7f ]
2024-02-05 05:08:11 +00:00
German Andryeyev
650978eccc
SWDEV-404889 - Switch to FreezeExecutable()
...
Debugger support requires FreezeExecutable() call inside the loader interface.
Change-Id: Iff01840a5980500d8d51da8d73c3f24b2960c44a
[ROCm/clr commit: dcd2fcff16 ]
2024-02-05 05:08:11 +00:00
Sameer Sahasrabuddhe
ebcecf1f4f
SWDEV-295298: hide warp sync builtins with a macro in ROCm 6.1
...
Change-Id: Ie2efd233c0bcf8ad0e06223ee854fe4bd1060443
[ROCm/clr commit: d80168eb87 ]
2024-02-05 05:08:11 +00:00
cadolphe
bd399106ae
SWDEV-368741 - Check for uninstalled hsa-amd-aqlprofile to avoid Segmentation Fault
...
Change-Id: I0c0c7a2ea7c35237332ddd7c2461e4d9ff8e2f1c
[ROCm/clr commit: 243b86dd23 ]
2024-02-05 05:08:11 +00:00
Satyanvesh Dittakavi
f6ea7f732b
SWDEV-440029 - Fix hipMemcpyFrom/ToSymbol directions allowed
...
Change-Id: Ib0b3d737cd5d297ac2d3c1ba549902b96e29c18c
[ROCm/clr commit: 9fd8b4d3f1 ]
2024-02-05 05:08:11 +00:00
Ajay
ca50750dae
SWDEV-440718 - Suffix hip bin name with _6.
...
Link to amd_comgr_2.dll
Change-Id: I5d21af0cc91f2082099273f75ebe1c3279b6365d
[ROCm/clr commit: b53fcb4d02 ]
2024-02-05 05:08:11 +00:00
Anusha GodavarthySurya
3dc533e1e1
SWDEV-439628 - hipGraphExecKernelNodeSetParams to update graph kernel node params with graph performance optimizations.
...
During hipGraphExecKernelNodeSetParams kernel function can also be updated.
Hence size required for kernel parameters differs from what is allocated during graphInstantiation.
So, create new 128KB kernel pool and allocate kernel args from the pool.
If the pool is full create new 128KB pool. Release kernel pools when graph exec object is destroyed.
Change-Id: I9567946d63400c79cbfd4c5439c654c92557ceae
[ROCm/clr commit: e9957151f3 ]
2024-02-05 05:08:11 +00:00
Anusha GodavarthySurya
401a2635ba
SWDEV-439637 - Fix undefined symbol error(github id- #3382 )
...
Change-Id: Ic7812e21618f48c737ce2c51b22a153099cc5d66
[ROCm/clr commit: 242132caa7 ]
2024-02-05 05:08:11 +00:00
Jatin Chaudhary
c0c2767eba
SWDEV-425605 - remove exe_options, it was unused
...
Change-Id: I0651f6a836d2f063caf651520de96d7675428771
[ROCm/clr commit: aacdb00759 ]
2024-02-05 05:08:11 +00:00
German Andryeyev
411efd9ddf
SWDEV-441482 - Add missing entry point
...
hipDestroyExternalSemaphore_fn was missing initialization
Change-Id: Ieab019afd0a0c62a2aa534fb262436edda3499db
[ROCm/clr commit: 2dac58e372 ]
2024-02-05 05:08:11 +00:00
Jatin Chaudhary
0711781d2d
SWDEV-425605 - Add new comgr compile to reloc
...
use AMD_COMGR_ACTION_COMPILE_SOURCE_TO_RELOCATABLE action
to compile source to realoc. Currently we have source->bc,
link->bc and bc->realoc. This new action replaces the
three steps with one.
Change-Id: I8089cbef681e079702fefc2d2085a23bc3578d02
[ROCm/clr commit: f017777a97 ]
2024-02-05 05:08:11 +00:00
German Andryeyev
cffd87fc79
SWDEV-311271 - Move mempool clean-up into hipEventSynchronize
...
Generic event synchronize can be called from mempool implementation directly.
Change-Id: Id66ab9cdab486390df4dd405a4ac291eb0bb568f
[ROCm/clr commit: 140a075b6a ]
2024-02-05 05:08:11 +00:00
Ranjith Ramakrishnan
c1eb5bccfb
SWDEV-441937 - Use the disable linemarker option for generating the precompiled header file hipRTC
...
The precompiled header files have hard coded paths in comments. Using the disable linemarker option(-P) will skip the generation of comments
Change-Id: Ifb134052996c343f5405e954784b4b2c286c36b1
[ROCm/clr commit: f9545675cb ]
2024-02-05 05:08:11 +00:00
Alex Xie
2fa724e0bd
SWDEV-433820 - Optimize queue initialization (ROCM)
...
Change-Id: I0619a9f66ae3d64a0f3fc36384f46adb302e725d
[ROCm/clr commit: 5e1de3cc26 ]
2024-02-05 05:08:11 +00:00
German Andryeyev
7e7e4b93ee
SWDEV-311271 - Add extra logic to reduce memory usage
...
Add logic to prevent significant grow of reserved memory in mempool.
Change-Id: If034433c26e904e3037200a593ef338896d7f16d
[ROCm/clr commit: cd59d971f0 ]
2024-02-05 05:08:11 +00:00
Ioannis Assiouras
e97c777df1
SWDEV-442421 - Fixed case where hipIpcGetMemHandle erroneously returns hipSuccess
...
Change-Id: Ie322a1a0165111d2ca129e68f49b54fe93aa088e
[ROCm/clr commit: b5fadf9cd1 ]
2024-02-05 05:08:11 +00:00
Vikram
8c3ab15f37
SWDEV-420140 - Prefer forward slashes for path seperators in compiler RT path with windows
...
Certain build systems such as NMake seem to interpret backslashes as escapes.
Change-Id: Ifc04d9427148e83084efb1af94a1ce85cb2a6c4e
[ROCm/clr commit: cec5f0b704 ]
2024-02-05 05:08:11 +00:00
Ioannis Assiouras
a6ae01bcd1
SWDEV-433312 - Return invalidArgument in cuMemSetAccess for hipMemAccessFlagsProtRead
...
Change-Id: I8e5c460ac310ad32849359720a40fc5131d4f32c
[ROCm/clr commit: 853b293983 ]
2024-02-05 05:08:11 +00:00
Jatin Jaikishan Chaudhary
3e3ca21c09
Revert "SWDEV-425605 - Add new comgr compile to reloc"
...
This reverts commit b26fdcc77c2aa20f39f7dec9afa24e755d2c03f5.
Reason for revert: breaks windows-psdb
Change-Id: I8b2fcaf0d0be09a9364e386127cabafb68a67e0d
[ROCm/clr commit: baf61b6a02 ]
2024-02-05 05:08:11 +00:00
Ioannis Assiouras
4e5d704c0c
SWDEV-442126 - Fix use_after_free case in ExtractFatBinaryUsingCOMGR
...
Change-Id: Ie07cf82025b65e4f95d4ce3cf46a6b8081f29b6a
[ROCm/clr commit: c4b9442fc4 ]
2024-02-05 05:08:11 +00:00
kjayapra-amd
9bff044c87
SWDEV-437832 - Adding device property to check if the device is accelerator.
...
Change-Id: I8349e99c03422c268bbb60a8c143bd492d9cec09
[ROCm/clr commit: b366a7c992 ]
2024-02-05 05:08:11 +00:00
Anusha GodavarthySurya
49e684361f
SWDEV-422207 - Added debug env to dump graph during Instantiation
...
Change-Id: Ibde2ae5b8d240f3986bcd168facc513a319c0f17
[ROCm/clr commit: 0a055f874b ]
2024-02-05 05:08:11 +00:00
Jatin Chaudhary
624a548b9a
SWDEV-425605 - Add new comgr compile to reloc
...
use AMD_COMGR_ACTION_COMPILE_SOURCE_TO_RELOCATABLE action
to compile source to realoc. Currently we have source->bc,
link->bc and bc->realoc. This new action replaces the
three steps with one.
Change-Id: I6ba551b8d04c7e06f41c4324026e4dcd2db1970f
[ROCm/clr commit: ea1487d84d ]
2024-02-05 05:08:11 +00:00
Lang Yu
2860991fb4
SWDEV-439419 - Unlock host ptr when device ptr equals host ptr
...
hsa_amd_memory_lock_to_pool() and hsa_amd_memory_unlock()
should be called balanced.
Change-Id: I8b1549861bff752aabbb6399d717d1e346079a38
Signed-off-by: Lang Yu <Lang.Yu@amd.com >
[ROCm/clr commit: cc29df873a ]
2024-02-05 05:08:11 +00:00
Ioannis Assiouras
e79d60996c
SWDEV-441201,SWDEV-441727 - Move BlitProgram creation after trap handler build
...
Change-Id: I89199ccc4bdf79940dc6693e07c03115c52bf613
[ROCm/clr commit: 5d322c027a ]
2024-02-05 05:08:11 +00:00
Lang Yu
b1584ed8d1
SWDEV-441065 - Fix device accessable host memory copy path
...
Change-Id: Ia6b9a428da7b54819fb3be928a33cdffcd04ecdf
Signed-off-by: Lang Yu <Lang.Yu@amd.com >
[ROCm/clr commit: 6af1c419ce ]
2024-02-05 05:08:11 +00:00
Jatin Chaudhary
f6fe357508
SWDEV-431367 - fix float compare for atomicMax/Min where -0.0 < +0.0
...
Change-Id: Ief99aac3775b0a0c6372215e5a0a9ecbbdca4ca5
[ROCm/clr commit: a01257f000 ]
2024-02-05 05:08:11 +00:00
Ioannis Assiouras
b72a7113fb
SWDEV-432599 - Added null checks for rocMemory ptrs in copyMemory
...
Change-Id: I8ccda2c915dad22c4ea67556dfaab9ba47770069
[ROCm/clr commit: 28743d8dbd ]
2024-01-18 15:48:30 -05:00
Satyanvesh Dittakavi
62fbe82c51
SWDEV-435750 - Make threadIdx, blockIdx compatible with CUDA
...
Change-Id: If0bd2c2c72e8418e30b5a202d9c10da334eff75e
[ROCm/clr commit: 0f9f8b52da ]
2024-01-18 02:16:15 -05:00
Jaydeepkumar Patel
5b6349bb60
Revert "SWDEV-359287 - 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 1b05247a03 .
Reason for revert: Waiting for staging results before finally merging it.
Change-Id: Iaabb510325f50147f368108e98531291217627c0
[ROCm/clr commit: 77be355fd9 ]
2024-01-18 01:29:31 -05:00
Rahul Manocha
3b42f3c995
SWDEV-421025 - Graph Kernel Node priority Attribute Set/Get
...
Change-Id: I5c422728aa694c8dabb5cf9bade441101512a249
[ROCm/clr commit: f40c380cdb ]
2024-01-17 12:44:35 -05:00
Jaydeep Patel
1b05247a03
SWDEV-359287 - 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.
...
Change-Id: I8d3a9a6ed1c3bddaaa86f7cdc242a45e6a1d09f6
[ROCm/clr commit: ea25e65834 ]
2024-01-17 04:42:52 -05:00
Jaydeep Patel
baaad8b45a
SWDEV-398109 - Enable smid support for CU mode for gfx10+.
...
Change-Id: Ief1e7c952c3de7e4a547bbdcc9817f51aa4d5d36
[ROCm/clr commit: fb2c100d8c ]
2024-01-16 20:13:23 -05:00
pghafari
0fe462b63e
SWDEV-441258 - remove full path for HIP LOG windows
...
Change-Id: Ibad6e9542c0cede38f5a114dcd352356ddedf019
[ROCm/clr commit: 0cff14c9e1 ]
2024-01-16 15:26:06 -05:00
German
37ed51c99c
SWDEV-440746 - Enable hipExtAnyOrderLaunch extension for PAL
...
Extension allows to execute the kernels without a wait barrier and L1
invalidation.
Change-Id: I96c485204303f54a0240b93134f4560673e4bd17
[ROCm/clr commit: 13c6f56ca9 ]
2024-01-16 15:20:39 -05:00
kjayapra-amd
b457d0ba82
SWDEV-413997 - Physical address size could be more than mapped size, only virtual address needs to be match the size of unmap request.
...
Change-Id: If0e973149d8ce1b6f01000ab951cf6e9f4b38e97
[ROCm/clr commit: 0f9c624f4c ]
2024-01-16 07:09:50 -05:00
Maneesh Gupta
ad499128d6
SWDEV-1 - Temporarily disable rocprofiler-register support
...
Change-Id: I2e4b4c5f6c0640fc4e1378dd920b080b88583921
[ROCm/clr commit: 4b6912031b ]
2024-01-16 04:15:05 +00:00
Saleel Kudchadker
34fd1b7fe5
SWDEV-301667 - Remove resetFenceDirty
...
Dont track the status of fence_dirty_ flag on the host, instead clear it
when we submit a barrier on the respective stream.
Change-Id: I4d98dbf20c81379c9c5da9f5b67629a8f9f6dfcd
[ROCm/clr commit: 0b0df605d4 ]
2024-01-15 15:43:14 -05:00