Sourabh Betigeri
d7275cb51c
SWDEV-393362 - Move setData() from profilingEnd() to profilingBegin() to eliminate a possible data race
...
- Introduce a state variable to indicate if HwProfiling is enabled to
eliminate a possible data race of vector<> signals_.
Change-Id: Id504cc76d7fa9f7e6455587dd232b60ccbbb735b
[ROCm/clr commit: afa28cdf44 ]
2023-05-04 17:19:25 -04:00
Saleel Kudchadker
5487d0ed10
SWDEV-301667 - Better log
...
Change-Id: I7399de7fe7a8840568d02362d2d936173583030c
[ROCm/clr commit: 0a7708f982 ]
2023-05-04 16:29:02 -04:00
Ioannis Assiouras
145506e067
SWDEV-398511 - Removed hiprtc_internal.hpp
...
Change-Id: Ic0751dfeb4936b3e233b44e34d16e0a1605874d7
[ROCm/clr commit: 29e0d2f335 ]
2023-05-04 16:50:18 +01:00
Ioannis Assiouras
91f676904b
SWDEV-393199 - Added new include file for opengl interop mappings for nvidia
...
Change-Id: I2e955a9dd06539939188a5f2e1dde4f173af1202
[ROCm/clr commit: 633e720da4 ]
2023-05-03 19:43:24 -04:00
kjayapra-amd
69406243e2
SWDEV-378006 - Adding a new guarantee macro to support printing args.
...
Change-Id: I2083ddaf8058759bdace7d3bb1e8e3670cbeddd2
[ROCm/clr commit: 7f41a96ffb ]
2023-05-03 12:43:16 -04:00
Jaydeep Patel
23af1d59d3
SWDEV-392870 - Enable p2p support for image using PAL.
...
Change-Id: I3acbbc01ee11e488e93204814361b8c3431bca4f
[ROCm/clr commit: 82e4859e03 ]
2023-05-03 00:34:08 -04:00
Jatin Chaudhary
639656a09e
SWDEV-376453 - Changes to fix crash seen with HIP and recent compiler change with -O0
...
Change-Id: I37de83b7449461ce2378741e97ff8fb8da736523
[ROCm/clr commit: c585aefdb7 ]
2023-05-02 17:46:38 -04:00
taosang2
ebc60d68a8
SWDEV-396574 – Refactor texture channel type checking
...
Create __hip_is_tex_surf_channel_type to replace
__hip_is_tex_channel_type
__hip_is_itex_channel_type
__hip_is_surf_channel_type .
Change-Id: I1692b92d417bad742d562679f218ebf8ca532e31
[ROCm/clr commit: 381e6520d0 ]
2023-05-02 10:01:13 -04:00
pghafari
505bce23be
SWDEV-369567 - dimension check update
...
Change-Id: I31deb5070d4852db7dd6d37f9a514965f387698e
[ROCm/clr commit: 31b362bf6e ]
2023-05-02 08:04:04 -04:00
Jatin Chaudhary
646af29dc5
SWDEV-1 - Fix incorrect SGPR usage in VGPR calculation. Pointed out by #58 issue on hipamd public repo
...
Change-Id: I8c27c0da254521714c92369990aa10f6fc09c246
[ROCm/clr commit: 54f73e430b ]
2023-05-02 03:53:18 -04:00
Jaydeep Patel
fa88970f6a
SWDEV-395559 - Move unsigned short up.
...
Change-Id: I3373a7bc22e632dc10b94b93ff023444d456b2b7
[ROCm/clr commit: cbd91bdc19 ]
2023-05-02 00:43:36 -04:00
Saleel Kudchadker
44512e3228
SWDEV-301667 - Cleanup log
...
Change-Id: I9719ec8b19406a062727937471e7a845a522a0be
[ROCm/clr commit: 538d453b86 ]
2023-05-01 11:07:55 -07:00
Saleel Kudchadker
a210535169
SWDEV-392427 - Invalidate Barrier Value AQL header
...
Change-Id: Id8e04ffe44da58641361468957d397af128443bb
[ROCm/clr commit: 9775c38725 ]
2023-05-01 14:06:05 -04:00
taosang2
3a37f33e4e
SWDEV-396574 – Refactor device mapping functions
...
Refactor mapFrom(), mapTo(), mapElem(),
__hip_is_surf_channel_type() and
__hip_is_itex_channel_type()
Change-Id: I1692b92d407bad742d562678f218ebf8ca532e91
[ROCm/clr commit: 2f2d02649f ]
2023-05-01 13:57:10 -04:00
sdashmiz
ebcab6e910
SWDEV-360031 - Correct APIs behaviour
...
- correct error for hipStreamWaitEvent when event recorded before
capture
- correct hipEventSync when event is synced during capture
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: I7ecbed5621eaf323846d4ccb20ec112aaa8a5757
[ROCm/clr commit: 544318fffe ]
2023-05-01 13:38:59 -04:00
victzhan
2278d7e0ad
SWDEV-345751 - fix misinitialize arraySlice in partialMemCopyTo()
...
Change-Id: I622c368957b1bd39e973f9afa4ee01593dd9e8ac
[ROCm/clr commit: d9c00767dc ]
2023-05-01 13:07:44 -04:00
Alex Xie
1678c03e90
SWDEV-390565 - ocltst test failing
...
part 2 of the fix
Change-Id: I4ff2cf0f82b5cf57c7ee51a60bbac770a605a837
[ROCm/clr commit: 42f8b9183d ]
2023-05-01 12:31:37 -04:00
Alex Xie
e9b17e263a
SWDEV-389541 - mipmap tests failed
...
Change-Id: I8dec8ff9515c55a3a6b16157f7d064b2b109d5f3
[ROCm/clr commit: 475f80ee0e ]
2023-05-01 12:31:17 -04:00
Alex Xie
c271c5cb29
SWDEV-390565 - ocltst test failing
...
Change-Id: I76a12878a1d3c029b771335eb23b129cac125517
[ROCm/clr commit: a0c1f496a4 ]
2023-05-01 09:37:36 -04:00
German
5af1af9c57
SWDEV-353281 - Move VirtualMem map update to memobj
...
- The implementation in mempool graphs requires refcounting VA object.
That requires release() to update the map only on the actual destruction.
- Add GPU event tracking for paging operation. Otherwise, runtime
may not always flush IB.
Change-Id: Idf99ffb894321a38e04b490116a7ca435635918d
[ROCm/clr commit: 7ef2da5aba ]
2023-04-28 17:22:11 -04:00
Ajay
858a32a24a
SWDEV-374386 - hipGraphAddMemcpyNode negative cases
...
validate 3d memcpy params -
pitch, extend - height/width/depth, src/dst offsets and total size
Change-Id: I629fc242264ebbc3e9dbfd9233da8d3a127500b4
[ROCm/clr commit: 22eae6ac9e ]
2023-04-28 12:11:24 -04:00
Maneesh Gupta
01c24e04f3
SWDEV-1 - Search for doxygen config in old and new locations
...
Change-Id: Iebe7295c7200cc164cb32047df96aa70dec75bf4
[ROCm/clr commit: ccad05fe01 ]
2023-04-27 04:57:12 -04:00
Saleel Kudchadker
4fca5a6655
SWDEV-355540 - Do not reset core affinities
...
- Do not reset core affinities when spawning new threads
Change-Id: I26a12075a1ff197bc217aafb9ba18ffbb019ef43
[ROCm/clr commit: 4a73fbec00 ]
2023-04-26 16:52:37 -04:00
German Andryeyev
b2525dfb82
SWDEV-381627 - Move cl_vk_amd.hpp into rocclr
...
Rename VK interop to ExternalMemory object, since it should handle
DX interops also
Change-Id: I536ec46d3e53ece35234a2e29030393ad411b96d
[ROCm/clr commit: 3e5803c4c0 ]
2023-04-26 15:25:01 -04:00
Satyanvesh Dittakavi
a00b618051
SWDEV-395413 - Fix fp16 header errors with -Werror in hiprtc
...
Change-Id: I7875b91758e826b439c67ac9f211a20f9b6133f0
[ROCm/clr commit: a67f354cec ]
2023-04-26 13:05:20 -04:00
German
53ecf50e1c
SWDEV-1 - Ignore .vs folder in git on Windows
...
Change-Id: I6654bd98ec7809a4857cd649d2f2f3c4316160d8
[ROCm/clr commit: d05f7734d3 ]
2023-04-25 17:55:08 -04:00
Sourabh Betigeri
898340aaa9
SWDEV-392367 - Fixes hipMemGetAddressRange returning device buffer size as 0
...
Change-Id: I6b5640b544390b2dfc53fad271acc7f30240e274
[ROCm/clr commit: 7aba1cf4cd ]
2023-04-25 13:46:52 -04:00
Jaydeep Patel
6b364523bd
SWDEV-389647 - SWDEV-388950 - Check device id same while set params.
...
GraphMemcpyNodeSetParamsFrom/ToSymbol APIs neew to check device id for
original src/dst is same as what is passed in while set.
Change-Id: If0b610808223dce9115562bb5e9b31c8eaa2df22
[ROCm/clr commit: b6aa27d4a3 ]
2023-04-25 13:24:26 -04:00
taosang2
44c74a77d2
SWDEV-390626 - Fix wrong mapping functions
...
Remove wrong functions
__hipMapFromNativeFloat4()
__hipMapToNativeFloat4()
Replace them with mapFrom() and mapTo()
Change-Id: I1692b92d397bfd732d562778f918ebf8ca532e93
[ROCm/clr commit: 650b6767c4 ]
2023-04-25 13:19:00 -04:00
Jacob Lambert
eda5e6731e
SWDEV-1 - Add missing newlines to debug log output
...
Change-Id: I6c98d482079c34931cdc0615075eba34f87241f3
[ROCm/clr commit: 2a9d8b5862 ]
2023-04-25 13:10:57 -04:00
German
ca2d9bfbff
SWDEV-353281 - Don't add the same stream into the list
...
Change-Id: I7f41de68b669dc759bdb11657dd897ad57e368fc
[ROCm/clr commit: 31697779bb ]
2023-04-25 10:21:55 -04:00
pghafari
0ddd82a5f7
SWDEV-367145 - adding support for timeline semaphore
...
Change-Id: I654359b48abe8bbaac2def5118d3ad0bb05d9492
[ROCm/clr commit: afa15ddb89 ]
2023-04-25 10:02:43 -04:00
sdashmiz
8e2c75defb
SWDEV-387508 - do not treat uuid as string
...
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: I4de88330650eba4e4259686cdb5fb089b17aa8e4
[ROCm/clr commit: 261ce9837c ]
2023-04-25 09:52:12 -04:00
Todd tiantuo Li
f506eebd90
SWDEV-391224 - cltrace support for MEDIUM_PRIORITY queue and RT queue with their number of dedicated CUs
...
Change-Id: Ifec6e0995e324887f8df02f27cb61e2a035e6a82
[ROCm/clr commit: 42e7cb77d9 ]
2023-04-25 04:29:20 -04:00
Jaydeep Patel
b373c0d221
SWDEV-390597 - Return No Device error for hipSetDevice and hipSetDeviceFlags.
...
Change-Id: I457b1197a8f1b71a8bbbdf09f193f643c61700b6
[ROCm/clr commit: 3dfe48b582 ]
2023-04-24 03:50:33 -04:00
German Andryeyev
53d0d75d8c
SWDEV-391858 - Reduce the size of step transfer
...
Change-Id: I78e9ed3c6550c497d6abdcf2b9e1a6d5bcdf7315
[ROCm/clr commit: 930d1f04c2 ]
2023-04-21 13:50:15 -04:00
Saleel Kudchadker
8ae30e036d
SWDEV-384557 - Fix engine status query
...
- Maintain a map of SDMA engine# to stream allocated following a greedy
approach
- Anything past that will query SDMA engine status always and go with a
SDMA or Blit copy path
Change-Id: Ibfaed7f951ab84d80cb0430596a4d11b5aec9202
[ROCm/clr commit: 5865c642d4 ]
2023-04-21 00:57:26 -04:00
Ruili Ji
74405e021d
SWDEV-391103 - fix ocltst segment fault and update device info for gfx1103
...
Change-Id: I7a45ef98fd03113b148178fed3b64b919ee4eb6d
[ROCm/clr commit: d33c1a06cf ]
2023-04-20 07:26:22 +08:00
victzhan
489f17c447
SWDEV-387117 - Support negative miplevel for clCreateFromGLTexture()
...
Change-Id: Ieaa340196e6844b2d18cdcc2278f913fc7c7bbb8
[ROCm/clr commit: 636983de49 ]
2023-04-19 12:46:45 -04:00
Julia Jiang
98e33ef5b6
SWDEV-392363 - fix DeviceQueries failure on MI300 APU system
...
Change-Id: I5542f3a4575fe252fff8e329fd28e5624b44486a
[ROCm/clr commit: 9ca45d289b ]
2023-04-19 12:09:20 -04:00
Jaydeep Patel
e404ad7bd8
SWDEV-389648 - Find node and then erase.
...
Change-Id: Iecf78fe6b0645e58b4de6658b59ad1285946b698
[ROCm/clr commit: 3c5888922e ]
2023-04-19 01:05:58 -04:00
Jaydeep Patel
3bab75e327
SWDEV-389477 - Check D2D is intra device.
...
Change-Id: Ibef2a6de82a18357ef35bcd70298478de6b0e380
[ROCm/clr commit: 415fb15c76 ]
2023-04-19 01:01:12 -04:00
Jaydeep Patel
2536d245f6
SWDEV-388943,SWDEV-388954 - Corrected validations for memcpy kind.
...
Change-Id: I8338111ac46e4eba279d53969d12df3a23552049
[ROCm/clr commit: 2576153acd ]
2023-04-19 01:00:50 -04:00
Jaydeep Patel
e257db8ba7
SWDEV-388958 - SWDEV-388929 - Kind can be hipMemcpyDefault for H2D and D2D and srcMemory can be allocated using hipHostMalloc for H2D.
...
Change-Id: I187ff850ebb890b357ee03500105b71468508ea2
[ROCm/clr commit: 7215451db9 ]
2023-04-19 01:00:28 -04:00
Jaydeep Patel
97726d4215
SWDEV-391731 - Check thread local list too.
...
With global flag, In addition to global vector, we need to check
thread local vector too. If both of them are empty then only
return false.
Change-Id: I3a24d16a35c702b34b9a8867dc410ebd80108f25
[ROCm/clr commit: 09a081235c ]
2023-04-19 01:00:09 -04:00
Jaydeep Patel
06bc6d9980
SWDEV-391178 - Extern monitor to avoid copy in multithreading.
...
Defining monitor in header cause copy and hence it's moved to cpp.
Change-Id: Ib07bbde2808d9cb2af9349076f777e8a5b28d210
[ROCm/clr commit: e8eb1772f2 ]
2023-04-19 00:58:49 -04:00
pghafari
82219d2fb1
SWDEV-366992 - adding handle type for vk interop
...
Change-Id: I79ee0d89b948c21b96709e9e607abe7901621a97
[ROCm/clr commit: 78de2ae692 ]
2023-04-18 16:59:25 -04:00
jatang
f7d22068bd
SWDEV-385312 - Move ocltst installation directory
...
Change-Id: Ibf9a5992fd9a7a2cd2d9c711fd76c0dee365570e
[ROCm/clr commit: d843c02843 ]
2023-04-18 16:19:02 -04:00
German Andryeyev
a6f2ecd703
SWDEV-231145 - Add a validation for uniform launch
...
Change-Id: I68d61690c50060d9dcca117b248dddf69204a23f
[ROCm/clr commit: e82eecf33e ]
2023-04-18 12:56:09 -04:00
German Andryeyev
237480711a
SWDEV-382359 - Workaround a non-uniform launch in MIOpen
...
Change-Id: I0abff25fb20143225739e771c4d3bae5c2a054b9
[ROCm/clr commit: 73698479a9 ]
2023-04-18 11:36:10 -04:00