Commit Graph

12217 Commits

Author SHA1 Message Date
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
Jason Tang f62c6dad78 SWDEV-1 - Make gl.h mandatory for build
Change-Id: I6f68d1bdb455f219c7b05a05256eb67d00e81a3c


[ROCm/clr commit: c95944fd7e]
2023-04-17 18:22:18 -04:00
German Andryeyev 79dbac1008 SWDEV-1 - Enable PAL interface 792
Change-Id: I4b77ecc8e4c129c5e1e62ec84ac4a5381f97a823


[ROCm/clr commit: 1cd99b5056]
2023-04-17 09:44:29 -04:00
Konstantin Zhuravlyov 650161a00c SWDEV-383199 - Use SC for luxmark for gfx10+
Change-Id: I693b00fd9fe8e48b7602c8c5a87b59cfae69d891


[ROCm/clr commit: 667f048d18]
2023-04-14 13:20:00 -04:00
Satyanvesh Dittakavi 53dcdf2b46 SWDEV-393060 - Address directed tests build failures with CLR
Change-Id: I76b93ee073d21ec5fae0db5a129ada89f750855d


[ROCm/clr commit: a3104c60e1]
2023-04-14 03:53:51 -04:00
Rahul Garg d0f51600f7 SWDEV-391858 - Revert "SWDEV-373396 - OCLCreateBuffer: make the CPU checkResult() 4 times faster"
This reverts commit 50208c1a00.
Reason for revert: To fix ocltst issues.

Change-Id: Iac828e36e5288805be91f1b1efc7b95dda51b877


[ROCm/clr commit: eb5df70929]
2023-04-13 21:29:19 +00:00
Ajay 369f587081 SWDEV-393406 - hip catch/directed tests on nvidia
fix the duplicate symbolic link issue

Change-Id: I472dfba80263d0f1d275d8e149007322c8af3f7c


[ROCm/clr commit: e5a300f892]
2023-04-10 19:54:23 +00:00
Maneesh Gupta 11cc41be7a SWDEV-393406 - Build rocclr only on AMD devices
Change-Id: Ie473b78ce301dea1a5229a645c5865db2547cdf0


[ROCm/clr commit: 1378dc02bc]
2023-04-10 16:18:46 +00:00
Ajay 4eaa9fa01a SWDEV-361630 - clr to be able to build hip directed tests
Change-Id: I85b45c52573683a963ac2b4ee0ec7c79653ecc4d


[ROCm/clr commit: 5e9545fdfd]
2023-04-07 14:21:34 -04:00
Ranjith Ramakrishnan 94be4c2c2d SWDEV-351540 - ASAN packaging for OpenCL
Package ASAN libraries and License file for ASAN package
Suffix "asan" added to package name

Change-Id: I1ae715d2ebc50d8a1ca6336c25802b989584ce40


[ROCm/clr commit: 8a4bf91145]
2023-04-07 12:35:25 +00:00
Ranjith Ramakrishnan c1be6ffca3 SWDEV-351540 - ASAN packaging for hip
Package ASAN libraries and license file
Suffix "asan" added to package name

Change-Id: Ia02bb55be0bd415dbd372b39ce884c38d8c3dcbf


[ROCm/clr commit: 267b342523]
2023-04-07 11:54:48 +00:00
jatang 50208c1a00 SWDEV-373396 - OCLCreateBuffer: make the CPU checkResult() 4 times faster
Change-Id: Ia6e614d76ea0532e7e6424bd33a5e81fbd49db9e


[ROCm/clr commit: 6bf7514adb]
2023-04-05 16:40:59 +00:00
Julia Jiang 7996429d24 SWDEV-388516 - Fix OCLPerf tests intermittent crashing
Change-Id: Iea69526a0ade08c33f68515bf6682b62291fdc7a


[ROCm/clr commit: f3a46d9d7a]
2023-04-05 16:40:47 +00:00
agunashe 8878a5db05 SWDEV-381627 - opencl refactor for interop files
moving the common files to vdi

Change-Id: Iab113e8bd93473553e64106f690496e6bf2bda03


[ROCm/clr commit: ccf4f5f849]
2023-04-05 16:40:03 +00:00
taosang2 769f1e166e SWDEV-390626 - Support surface Apis
Change-Id: I1691b82d597bfd722d562778f919ebf8ca530e90


[ROCm/clr commit: 53742adc08]
2023-04-05 16:38:04 +00:00
German 56dedad98b SWDEV-380703 - sync all streams individually
Avoid syncing blocking streams with the default stream,
since that introduces extra command dependencies and
doesn't allow to destroy memory after last submission

Change-Id: I618e9bd2091c4cf9157125612d8c4759030c5a80


[ROCm/clr commit: 1e88d2c52f]
2023-04-05 16:37:49 +00:00
Jaydeep Patel 235eb22491 SWDEV-390439 - SWDEV-387997 - Delete array.
Change-Id: Ica20b005f5db7f4ed65c5ebc51959392671fe320


[ROCm/clr commit: 0f975e6e93]
2023-04-05 16:37:39 +00:00
Jaydeep Patel 91fef1215c SWDEV-362365 - Return invalid value if config is not valid.
Change-Id: I5f7300060f25536f8d3fd25afc2fe2522b621432


[ROCm/clr commit: 4d8fd17985]
2023-04-05 16:37:28 +00:00
Jaydeep Patel ac5c6ad299 SWDEV-362372 - Correct error code.
Change-Id: Ife4f6e3481d0e804e676fe076f0928870c6bae57


[ROCm/clr commit: 4ac87c051d]
2023-04-05 16:37:18 +00:00
Ajay b997937c50 SWDEV-384184 - hipGraphKernelNodeSetAttribute negative scenarios
Hardcoding check for accessPolicyMaxWindowSize
since its returned from Hardware thats not available yet

Change-Id: I3a09fc9ace3027c7d5533bbbc7da5e18f43591ec


[ROCm/clr commit: c603d5004a]
2023-04-05 16:37:04 +00:00
Ajay 42dda1e6f4 SWDEV-390170 - guard deprecated runtime apis on CUDA 12.0
Change-Id: I4ab967c276dfa98f75d508b9484e8d1324b4e4a7


[ROCm/clr commit: 9ca5e71127]
2023-04-05 16:36:53 +00:00
Christophe Paquot e1b8ba3750 SWDEV-301667 - Optimize lock for graph global capture mode
Remove unneeded lock and add smaller scope

Change-Id: I03a437057d54ce2d72c07a080bb872693b7f3f6c


[ROCm/clr commit: 6e86d29a58]
2023-04-05 10:58:14 +00:00
Julia Jiang b7a0456cfb SWDEV-389033 - Update header for cooperate group
Change-Id: Ica8f99c644a32835bf480b52a6a2af861f1526c0


[ROCm/clr commit: 0442501849]
2023-04-05 10:58:04 +00:00
Ioannis Assiouras d93de640bd SWDEV-389611 - Changed hipMallocAsync to return success for zero size allocation to match hipMalloc
Change-Id: Ia2cbfaf2df9be37b62f23b2bb5b619205752ba84


[ROCm/clr commit: db9d9faaeb]
2023-04-05 10:56:51 +00:00
Satyanvesh Dittakavi dded7831c1 SWDEV-374363 - hipImportExternalMemory/Semaphore should return error
when the Memory/Semaphore handle desc type is invalid

Change-Id: If122b05d87cc65974a797da69c134e2ac264d1db


[ROCm/clr commit: 1ed823a477]
2023-04-05 10:56:41 +00:00
Ajay ec1aea4a1b SWDEV-381627 - hipamd: refactor interop files
Removal of interop files and accessing these from vdi

Change-Id: If0d6635d56dd5bc63964bb49706ca5d6ebe4abc7


[ROCm/clr commit: 0b4f845475]
2023-04-05 10:56:28 +00:00
Ioannis Assiouras 517e142aeb SWDEV-388661 - Fixed regression in hipMemCpyParam3D when offset is applied
Change-Id: I31273d643aac05f394f505235734c7f098497051


[ROCm/clr commit: 9c04e21b68]
2023-04-05 10:54:34 +00:00
Jaydeep Patel 37d76bc6a6 SWDEV-388942 - hipGraphMemsetNodeSetParams & hipGraphExecMemsetNodeSetParams differs in validation as per cuda.
Change-Id: Ie013aa5e94e8c468d949797890fb6b629e97a323


[ROCm/clr commit: 17553de9b7]
2023-04-05 10:54:22 +00:00
Jaydeep Patel 90a00bc681 SWDEV-388926 - Original and new memory should be from same device for hipGraphExecMemsetNodeSetParams.
Change-Id: I32bd56db0b80d748e3ae0737a38ea975738bdab7


[ROCm/clr commit: ec227d560a]
2023-04-05 10:54:10 +00:00
sdashmiz a2e1a1b4aa SWDEV-388937 - fix removing a node
- before removing node from graph all edges should be removed and rest
  of graph updated

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


[ROCm/clr commit: 8c62a616a2]
2023-04-05 10:54:01 +00:00
sdashmiz ddf76371e6 SWDEV-386685 - return proper error
- if graph is already instantiated there cant be a second instance in
  case nodes are free or alloc

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


[ROCm/clr commit: f6c36be185]
2023-04-05 10:53:51 +00:00
sdashmiz b0b21ae1cc SWDEV-386695 - fix param sanitization check
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I1317640453d56718fa41f455c512282fd0f01e2a


[ROCm/clr commit: 3a45a965e2]
2023-04-05 10:53:42 +00:00
Sourabh Betigeri 21d9eb467d SWDEV-387810 - Fixes to verify if the current stream matches the capture stream
- invalid to synchronize or query the execution status of a capturing stream but non-capturing streams can.

- If any local thread has an ongoing or concurrent capture sequence initiated with hipStreamCaptureModeGlobal, it is prohibited from unsafe calls

Change-Id: Ifa641e807216d3b7c3e8c2fb1be2f7a50bd641df


[ROCm/clr commit: 7809d2846b]
2023-04-05 10:53:33 +00:00
Jatin Chaudhary 421c4149e4 SWDEV-384013 - Add HIPRTC_JIT_IR_TO_ISA_OPT_EXT
Change-Id: Icfc06c19af32f41d603bf880ab1927bffb391097


[ROCm/clr commit: 300ba5b1f1]
2023-04-05 10:52:48 +00:00
sdashmiz c33e0bde58 SWDEV-385255 - fixes for graph exec with mem pools
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I6f127090904a6c7985992bfaaab928d8b03013f5


[ROCm/clr commit: d2ea4d3dd4]
2023-04-05 10:52:04 +00:00
Ioannis Assiouras 49ab7a188f SWDEV-387958 - Fix incorrect slicePitch for ImageGL
Change-Id: I06183deeeed840f345ba988ecdbf4dc442c3c78a


[ROCm/clr commit: 5ee9e6c8c1]
2023-04-05 10:51:48 +00:00
Ajay e4e9be476c SWDEV-379678 - remove samples packaging from hipamd
packaging of hip samples is now moved to hip-tests project

Change-Id: I696d970328f76f6e65e19aad52a0d7bd0b4cdd39


[ROCm/clr commit: 1f23b87fe5]
2023-04-05 10:51:33 +00:00
Chauncey Hui 01c6eb43eb SWDEV-2 - Change OpenCL version number from 3580 to 3581
[ROCm/clr commit: 3d87e3848b]
2023-04-05 07:51:04 +00:00
Saleel Kudchadker cb09d962ba SWDEV-384557 - Leverage SDMA engine status query
Change-Id: I5f386f2965de24a229ea43b6c4da82099692f91f


[ROCm/clr commit: 20ca8b8116]
2023-04-05 07:50:53 +00:00
Shadi Dashmiz f1671e8eda SWDEV-387508 - construct uuid from pal props
This reverts commit e83c7a0510195fda6640c22d7ad98f056cf95dcd.

Reason for revert: it is a test issue to consider uuid a string it is array of values 

Change-Id: Ifb2ae05a99cdaa80e689b83693fc553dd974a249


[ROCm/clr commit: 471ff60a90]
2023-04-05 07:50:45 +00:00
jatang e6d6b4e80c SWDEV-383606 - Find the correct LocalWorkSize
when uniformWorkGroupSize_ is true

Change-Id: Ic7fa25d5fa503e59509d481a492f6519c6e52889


[ROCm/clr commit: d897082a6c]
2023-04-05 07:50:34 +00:00
Chauncey Hui c17e43704d SWDEV-2 - Change OpenCL version number from 3579 to 3580
[ROCm/clr commit: 391bbd0455]
2023-04-05 07:50:25 +00:00
taosang2 632822bdf5 SWDEV-380903 - Add program lock
Create seperate locks for program and HSAIL

Change-Id: I7c826ed9c2f2d839d359e5158f578830655616fd


[ROCm/clr commit: 82d2213cfa]
2023-04-05 07:50:16 +00:00
Rahul Garg 67536316e7 SWDEV-389676 - Update stack size limit
Change-Id: Id0cf66820e76e1bbd7f6c17ceb110782cdb5f978


[ROCm/clr commit: 7b419f42eb]
2023-04-05 07:50:06 +00:00