Commit Graph

13402 Commits

Author SHA1 Message Date
Juan Manuel MARTINEZ CAAMAÑO 0edf1ffbdf SWDEV-286150 - [NFC] Refactor repeated option parsing code into function
Change-Id: I606dc1cd48d880974142e523d16f5d9ac6f3aff1


[ROCm/clr commit: 40f75306d5]
2022-11-08 10:29:13 -05:00
Juan Manuel MARTINEZ CAAMAÑO cc0d1ebba3 SWDEV-286150 - [NFC] Avoid copying string when calling HashString
Change-Id: Ic2f4d469ca319f7d31814b3955430dbbfdad5bb2


[ROCm/clr commit: f5e982cc07]
2022-11-08 07:07:06 -05:00
Chauncey Hui 2eb8a61d81 SWDEV-2 - Change OpenCL version number from 3524 to 3525
[ROCm/clr commit: 773d85e3d9]
2022-11-08 03:00:07 -05:00
Julia Jiang a83594277d SWDEV-360748 - Update return value for hipExtGetLinkTypeAndHopCount_Positive_Basic test on Windows
Change-Id: I0eb984da6e96c2409e1b1bbda61ae694c8bebe94


[ROCm/clr commit: 9d616ad0f4]
2022-11-07 10:00:32 -05:00
German 50e08f9511 SWDEV-286150 - Switch PAL to 775 version
Change-Id: I8e64cbe0fea273d4bd6f7d3ebd66feb628fac6b9


[ROCm/clr commit: c1b22840fa]
2022-11-07 09:54:22 -05:00
kjayapra-amd a72344ad67 SWDEV-337452 - Adding__ockl_steadyctr_u64 option for wall_clock64.
Change-Id: I4ee6fd4d40d500363ef84975078185093dab5ddd


[ROCm/clr commit: 5ff27faa04]
2022-11-07 08:47:30 -05:00
Anusha GodavarthySurya 3a482da878 SWDEV-366153 - Fix __ocml_isnan_f16 to pass _Float16
Change-Id: I7628f21d000cec490f5fb2c91f1b99ca61fb46cf


[ROCm/clr commit: c974cbcb3d]
2022-11-06 21:57:23 -05:00
Chauncey Hui 29f46697f8 SWDEV-2 - Change OpenCL version number from 3523 to 3524
[ROCm/clr commit: d0a57e4905]
2022-11-05 03:00:05 -04:00
Saleel Kudchadker b157c8eeea SWDEV-301667 - Improve logging
Change-Id: Ifa6da876b85cb503967cf09aac6d477b10db8e63


[ROCm/clr commit: feca11d5e3]
2022-11-04 18:23:18 -04:00
pghafari d9eb49726f SWDEV-362199 - add vulkan interop apis in nvidia
Change-Id: I6c5de6174a80be862b6d869927ed704dd1421b41


[ROCm/clr commit: ac2948651e]
2022-11-04 16:49:21 -04:00
sdashmiz 234dc08f7c SWDEV-361592 - allow nullptr for userdata in hiphostfunc
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I91728d363846ac6417d4a59920509ffacd4c9a58


[ROCm/clr commit: 9c83b3e0b2]
2022-11-04 13:37:17 -04:00
Saleel Kudchadker 994c9384e7 SWDEV-364052 - Print free memory on queue callback
Change-Id: I7d15b6f6277326d5f3e9b784a3443f18ec6ba58a


[ROCm/clr commit: 3e465c5ff8]
2022-11-04 13:19:33 -04:00
Todd tiantuo Li 32b0929ce3 SWDEV-302996 - add gfx1103 Phoenix support - OCL runtime
Change-Id: Ib6b7efa085b734bda6b5b50c720fe9d93e6dbf95


[ROCm/clr commit: 246429bd68]
2022-11-04 12:07:22 -04:00
sdashmiz af7db12908 SWDEV-356569 - check for mempool device
- mem pool should be from same device

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Id06a7f070c019548462c235bff3c0cd972e6eb8a


[ROCm/clr commit: 33f02abc41]
2022-11-04 09:36:22 -04:00
Chauncey Hui b96ddeed4c SWDEV-2 - Change OpenCL version number from 3522 to 3523
[ROCm/clr commit: cfd9ced308]
2022-11-04 03:00:06 -04:00
Jaydeep Patel e649f9393a SWDEV-365048 - extra marker is required for HW event check, which is done before the callback is finished.
Change-Id: Ib46bfc4e060a60fb14aa782688d35b34534cca65


[ROCm/clr commit: e7a34f9efe]
2022-11-04 00:34:14 -04:00
kjayapra-amd 9f4ef7089f SWDEV-329423 - Enable NV3x target ID related changes on mainline.
Change-Id: I54fafb371976aaa16a452ec65b0c340c5682c264


[ROCm/clr commit: ea0ce45ad3]
2022-11-03 21:11:24 +00:00
German bc14b745e8 SWDEV-365121 - Use CP DMA for tiny transfers
Sync between compute and SDMA engines can be very expensive under Windows.
Use CP DMA for tiny transfers (< 1KiB) to avoid syncs and improve performance.

Change-Id: I9db39a2199f7b9e337ed08fd36d9cbc150502f1f


[ROCm/clr commit: 473621c008]
2022-11-03 10:04:53 -04:00
German Andryeyev 670266f94f SWDEV-364457 - Don't attempt adding duplicates into the memory map
KMD can enable hipHostRegister optimization  with HMM path.
That will make CPU and GPU pointers matching.

Change-Id: Iad96ceada5cfa3bada20452b906f744f9dbaebbe


[ROCm/clr commit: 55d085ca8c]
2022-11-03 10:04:12 -04:00
Tao Sang 441effd3d7 SWDEV-363140 - Support performance counter on gfx11
Change-Id: I2216f71f4d4db6dd3766333b0c821cb3d35d7851


[ROCm/clr commit: 06573ac92f]
2022-11-03 07:59:24 -04:00
Chauncey Hui fb16e20571 SWDEV-2 - Change OpenCL version number from 3521 to 3522
[ROCm/clr commit: 4b3ff92abd]
2022-11-03 03:00:09 -04:00
Jaydeep Patel 420ab29155 SWDEV-362367 - pciBusId should be large enough to store 13 characters including the NULL-terminator.
Change-Id: Ie58be0495065713bae7e13923ac04a4643e246be


[ROCm/clr commit: 4e2f7192e3]
2022-11-03 00:04:27 -04:00
Laurent Morichetti 6d3939cd49 SWDEV-351980 - Store the correlation ID in the dispatch packet
The profiler can retrieve this correlation ID to attribute waves to
specific dispatch locations.

Change-Id: I700e8a91219d612f6a2028c0dda0c92753f3526a


[ROCm/clr commit: b043b4f5a2]
2022-11-02 23:40:10 -04:00
Tao Sang 94946f5616 SWDEV-363140 - Support performance counter on gfx11
Support performance counter on gfx11 in Windows only
as Rocm doesn't support performance counter on gfx11 in Linux.

Change-Id: I2216f72f4d4db6dd3766343b0c821cb3d35d7852


[ROCm/clr commit: 6f43b210d7]
2022-11-01 18:12:02 -04:00
Tao Sang 9091d2751f SWDEV-363038 - Fix hipGraphKernelNodeSetParams
Fix crash in hipGraphKernelNodeSetParams where paremeters
are taken from hipGraphKernelNodeGetParams.

Change-Id: I2216f72f4d4de6dd3766343b0d821cb3d35d7853


[ROCm/clr commit: 0c4307f86e]
2022-11-01 15:02:39 -04:00
Chauncey Hui a2df4f8400 SWDEV-2 - Change OpenCL version number from 3520 to 3521
[ROCm/clr commit: b070ba9cc3]
2022-11-01 03:00:05 -04:00
jatang 53f289e0ac SWDEV-293816 - Only dispatch Counter Aql packet when it is created successfully.
Change-Id: Ic8a7374d19012754c6de5d483ec5d07a56661d1b


[ROCm/clr commit: 166ef6b622]
2022-10-31 15:11:41 -04:00
Saleel Kudchadker 0d1d52d249 SWDEV-301667 - Use queue base address for AQL log
Change-Id: Ie525991b341deeb93ab3cb2d77550e8e1d87ee20


[ROCm/clr commit: cf1fd98074]
2022-10-31 13:54:49 -04:00
AravindanC 7219645700 SWDEV-352878 - LLVM pkg search directly using find_dep() for CLANG Include path
Change-Id: I355e39890757be07de8b9332deca159f35039dfd


[ROCm/clr commit: c8500cd72d]
2022-10-31 09:42:47 -07:00
Julia Jiang 1d74b9271a SWDEV-342013,SWDEV-342014 - Update validation on hipDeviceGet and hipDeviceGetName
Change-Id: I719da6169ce9f505449e07775cb94a5718f79ca3


[ROCm/clr commit: 3415f0a56e]
2022-10-31 11:44:40 -04:00
German c04e2300c8 SWDEV-363074 - Clean-up sync between SDMA and compute
HIP can't rely on the resource tracking, used in OCL and requires different explicit sync.
Make sure ROCCLR syncs compute only when SDMA is used and vise versa.
The new logic will allow to enable CPDMA without unnecessary waits.

Change-Id: Ib9d1788cfd5afa5ea2fec4c96a37d8b9c4d0059d


[ROCm/clr commit: ff6b4db70b]
2022-10-31 10:02:01 -04:00
Anusha GodavarthySurya c9f30dcdd6 SWDEV-362611 - Added hmax and hmin
Change-Id: I133a80e997e39357693df7ab969425c0d5585607


[ROCm/clr commit: 07b3070e25]
2022-10-31 00:23:57 -04:00
Chauncey Hui 30ec1ca8df SWDEV-2 - Change OpenCL version number from 3519 to 3520
[ROCm/clr commit: 3bce4df27d]
2022-10-29 03:00:09 -04:00
agunashe 8b2c273837 SWDEV-337331 - Windows graph fix
Unit_hipGraphNodeGetDependentNodes_Functional
Unit_hipGraphNodeGetDependencies_Functional
Unit_hipGraphAddEventRecordNode_Functional_WithoutFlags
Unit_hipGraphMemcpyNodeSetParams_Functional
Unit_hipGraphExecChildGraphNodeSetParams_ChildTopology

Change-Id: I762776d33f27197bcc012951a1828d3d1d2b3e2e


[ROCm/clr commit: 47ae1f1fff]
2022-10-28 14:46:04 -04:00
German c15bee3157 SWDEV-363074 - Enable resource cache for SVM
Blender creates and destroys big allocations during the benchmark.
That causes big delays, because vidmm has to page-in/page-out memory.

Change-Id: I2baf4545807127406e3d2870a7581ff9ae7bcdb5


[ROCm/clr commit: dc4ad8c99c]
2022-10-27 16:39:29 -04:00
sdashmiz c46a687045 SWDEV-363850 - fix a bug in mutual exclusive flags
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: If7687b5bf7ec7ff1978991cbf7dafa0612912274


[ROCm/clr commit: 84fa61a39b]
2022-10-27 11:23:35 -04:00
Pierre van Houtryve 6d160e5a69 Replace LLVM atomic.inc intrinsics with Clang builtins
With opaque pointers, the suffix of those intrinsics changed. This caused
build failures that should be solved by just using the corresponding
Clang builtins instead of using intrinsics directly

See SWDEV-356581

Change-Id: Icd1d9b9438cac4bef0f7c52d4cd341ac76500890


[ROCm/clr commit: dcb5d29f1e]
2022-10-27 10:17:21 -04:00
jatang dec87c74f0 SWDEV-293816 - Test a CPC counter that's supported by both gfx10 ROCr and PAL backend.
Change-Id: I5d20d07b999c26707611dba5b2c7da9782ad08f3


[ROCm/clr commit: 7cb2b815b3]
2022-10-25 18:14:07 -04:00
jatang fe5311622d SWDEV-362451 - Reenable OCLPinnedMemory
Change-Id: I75897846913190422bb8c95d1dce83077d5c77d6


[ROCm/clr commit: b7b458730a]
2022-10-25 12:32:13 -04:00
Chauncey Hui b0af040a7d SWDEV-2 - Change OpenCL version number from 3518 to 3519
[ROCm/clr commit: cff74ae551]
2022-10-25 03:00:08 -04:00
pghafari e67454dc70 SWDEV-362280 - retur NotSupoorted for hip-vulkan
hip-vulkan semaphore on rocm is not supported

Change-Id: I6e01c4f5b192cfb17546a29a1cb17f320c4b1adc


[ROCm/clr commit: 895473e8d8]
2022-10-24 13:36:18 -04:00
German e3f6a5fa0d SWDEV-363069 - Disable sync force for MT
hipMemcpyAsync doesn't require any forced sync even for sysmem

Change-Id: I83951f6118e84d79c74d5671df62678c5db085a8


[ROCm/clr commit: 52ff4368e5]
2022-10-24 10:59:07 -04:00
German 23fc103652 SWDEV-363602 - Notify cmd queue about callback wait
Remove extra barrier, since ROCR backend in DD mode blocks HW queue now when a callback is injected
Add a notificaiton for MT mode about possible waiter for a callback

Change-Id: Ifd70ce5597e1ba868e4197ad1850ace11a4f90ae


[ROCm/clr commit: 413cc757af]
2022-10-24 10:56:20 -04:00
sdashmiz a75852fb97 SWDEV-357917 - correct userobj for negative test cases
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I6a2a74c763d2b938430ca53a14360f459af04665


[ROCm/clr commit: 4fc9df2a1a]
2022-10-24 10:27:02 -04:00
German f5f0a6c618 SWDEV-352487 - Don't add notifications as the last command
Change-Id: Ifed34485839ef2c9491e8e8f6bb3569932160b1c


[ROCm/clr commit: e223b0f678]
2022-10-24 09:39:03 -04:00
Chauncey Hui 4c1741acfd SWDEV-2 - Change OpenCL version number from 3517 to 3518
[ROCm/clr commit: a65ed69c1b]
2022-10-22 03:00:06 -04:00
Jason Tang e07fd20922 Merge "SWDEV-362891 - Add the ocltst install path to RUNPATH." into amd-staging
[ROCm/clr commit: a19e8ab0bb]
2022-10-21 18:22:20 -04:00
German 1bcd517a43 SWDEV-345024 - Restore break
Commit a3c9b7dde6 accidently removed break for mempool property

Change-Id: Ica3cbec796ca6b2366583d3302d3226c73224177


[ROCm/clr commit: 8d2885f331]
2022-10-21 18:04:20 -04:00
Laurent Morichetti bec405981e SWDEV-361847 - Print 'char' parameters as 'integer'
When printing HIP API function parameters, use the integer format to
print 'char' arguments to avoid printing invalid ASCII characters
(value > 127).

Make sure the roctracer::hip_support::detail operator<< overloads are
used when printing arguments.

Change-Id: Id072c2ed19b1b4166108599e393d1cae6c54b6b0


[ROCm/clr commit: 19107858d6]
2022-10-21 14:55:33 -04:00
Ajay 09e359f925 SWDEV-357207 - Linux: enable StreamWrite/Wait APIs in deviceAttribute
Change-Id: I593df2dbb7a0233dd42f8d873510d85bbb27feff


[ROCm/clr commit: 261620a2ef]
2022-10-21 12:44:35 -04:00