Graf commitů

12197 Commity

Autor SHA1 Zpráva Datum
taosang2 53742adc08 SWDEV-390626 - Support surface Apis
Change-Id: I1691b82d597bfd722d562778f919ebf8ca530e90
2023-04-05 16:38:04 +00:00
German 1e88d2c52f 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
2023-04-05 16:37:49 +00:00
Jaydeep Patel 0f975e6e93 SWDEV-390439 - SWDEV-387997 - Delete array.
Change-Id: Ica20b005f5db7f4ed65c5ebc51959392671fe320
2023-04-05 16:37:39 +00:00
Jaydeep Patel 4d8fd17985 SWDEV-362365 - Return invalid value if config is not valid.
Change-Id: I5f7300060f25536f8d3fd25afc2fe2522b621432
2023-04-05 16:37:28 +00:00
Jaydeep Patel 4ac87c051d SWDEV-362372 - Correct error code.
Change-Id: Ife4f6e3481d0e804e676fe076f0928870c6bae57
2023-04-05 16:37:18 +00:00
Ajay c603d5004a SWDEV-384184 - hipGraphKernelNodeSetAttribute negative scenarios
Hardcoding check for accessPolicyMaxWindowSize
since its returned from Hardware thats not available yet

Change-Id: I3a09fc9ace3027c7d5533bbbc7da5e18f43591ec
2023-04-05 16:37:04 +00:00
Ajay 9ca5e71127 SWDEV-390170 - guard deprecated runtime apis on CUDA 12.0
Change-Id: I4ab967c276dfa98f75d508b9484e8d1324b4e4a7
2023-04-05 16:36:53 +00:00
Christophe Paquot 6e86d29a58 SWDEV-301667 - Optimize lock for graph global capture mode
Remove unneeded lock and add smaller scope

Change-Id: I03a437057d54ce2d72c07a080bb872693b7f3f6c
2023-04-05 10:58:14 +00:00
Julia Jiang 0442501849 SWDEV-389033 - Update header for cooperate group
Change-Id: Ica8f99c644a32835bf480b52a6a2af861f1526c0
2023-04-05 10:58:04 +00:00
Ioannis Assiouras db9d9faaeb SWDEV-389611 - Changed hipMallocAsync to return success for zero size allocation to match hipMalloc
Change-Id: Ia2cbfaf2df9be37b62f23b2bb5b619205752ba84
2023-04-05 10:56:51 +00:00
Satyanvesh Dittakavi 1ed823a477 SWDEV-374363 - hipImportExternalMemory/Semaphore should return error
when the Memory/Semaphore handle desc type is invalid

Change-Id: If122b05d87cc65974a797da69c134e2ac264d1db
2023-04-05 10:56:41 +00:00
Ajay 0b4f845475 SWDEV-381627 - hipamd: refactor interop files
Removal of interop files and accessing these from vdi

Change-Id: If0d6635d56dd5bc63964bb49706ca5d6ebe4abc7
2023-04-05 10:56:28 +00:00
Ioannis Assiouras 9c04e21b68 SWDEV-388661 - Fixed regression in hipMemCpyParam3D when offset is applied
Change-Id: I31273d643aac05f394f505235734c7f098497051
2023-04-05 10:54:34 +00:00
Jaydeep Patel 17553de9b7 SWDEV-388942 - hipGraphMemsetNodeSetParams & hipGraphExecMemsetNodeSetParams differs in validation as per cuda.
Change-Id: Ie013aa5e94e8c468d949797890fb6b629e97a323
2023-04-05 10:54:22 +00:00
Jaydeep Patel ec227d560a SWDEV-388926 - Original and new memory should be from same device for hipGraphExecMemsetNodeSetParams.
Change-Id: I32bd56db0b80d748e3ae0737a38ea975738bdab7
2023-04-05 10:54:10 +00:00
sdashmiz 8c62a616a2 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
2023-04-05 10:54:01 +00:00
sdashmiz f6c36be185 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
2023-04-05 10:53:51 +00:00
sdashmiz 3a45a965e2 SWDEV-386695 - fix param sanitization check
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I1317640453d56718fa41f455c512282fd0f01e2a
2023-04-05 10:53:42 +00:00
Sourabh Betigeri 7809d2846b 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
2023-04-05 10:53:33 +00:00
Jatin Chaudhary 300ba5b1f1 SWDEV-384013 - Add HIPRTC_JIT_IR_TO_ISA_OPT_EXT
Change-Id: Icfc06c19af32f41d603bf880ab1927bffb391097
2023-04-05 10:52:48 +00:00
sdashmiz d2ea4d3dd4 SWDEV-385255 - fixes for graph exec with mem pools
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I6f127090904a6c7985992bfaaab928d8b03013f5
2023-04-05 10:52:04 +00:00
Ioannis Assiouras 5ee9e6c8c1 SWDEV-387958 - Fix incorrect slicePitch for ImageGL
Change-Id: I06183deeeed840f345ba988ecdbf4dc442c3c78a
2023-04-05 10:51:48 +00:00
Ajay 1f23b87fe5 SWDEV-379678 - remove samples packaging from hipamd
packaging of hip samples is now moved to hip-tests project

Change-Id: I696d970328f76f6e65e19aad52a0d7bd0b4cdd39
2023-04-05 10:51:33 +00:00
Chauncey Hui 3d87e3848b SWDEV-2 - Change OpenCL version number from 3580 to 3581 2023-04-05 07:51:04 +00:00
Saleel Kudchadker 20ca8b8116 SWDEV-384557 - Leverage SDMA engine status query
Change-Id: I5f386f2965de24a229ea43b6c4da82099692f91f
2023-04-05 07:50:53 +00:00
Shadi Dashmiz 471ff60a90 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
2023-04-05 07:50:45 +00:00
jatang d897082a6c SWDEV-383606 - Find the correct LocalWorkSize
when uniformWorkGroupSize_ is true

Change-Id: Ic7fa25d5fa503e59509d481a492f6519c6e52889
2023-04-05 07:50:34 +00:00
Chauncey Hui 391bbd0455 SWDEV-2 - Change OpenCL version number from 3579 to 3580 2023-04-05 07:50:25 +00:00
taosang2 82d2213cfa SWDEV-380903 - Add program lock
Create seperate locks for program and HSAIL

Change-Id: I7c826ed9c2f2d839d359e5158f578830655616fd
2023-04-05 07:50:16 +00:00
Rahul Garg 7b419f42eb SWDEV-389676 - Update stack size limit
Change-Id: Id0cf66820e76e1bbd7f6c17ceb110782cdb5f978
2023-04-05 07:50:06 +00:00
Chauncey Hui 899c0e54e7 SWDEV-2 - Change OpenCL version number from 3578 to 3579 2023-04-05 07:49:57 +00:00
Xie.AlexBin 91e2cd5d67 SWDEV-339709 - Device Atomic test failed
Code change for Linux

Change-Id: I002881c188b9de351618a06ee8b5ce2aa5d9fd95
2023-04-05 07:49:47 +00:00
Xie.AlexBin c2b64f8bf5 SWDEV-339709 - Device Atomic test failed
Code change for Windows.

Change-Id: I5ad520b67d1d9ec029cd2c2df7009915caaa8583
2023-04-05 07:49:34 +00:00
Chauncey Hui f670c97ad8 SWDEV-2 - Change OpenCL version number from 3577 to 3578 2023-04-05 07:49:23 +00:00
Ajay 88736010fb SWDEV-381627 - adding cl interop files to vdi
Change-Id: Ic40363587a2bc56f977a148eba386dfb73d6286e
2023-04-05 07:48:49 +00:00
Chauncey Hui 53c071199e SWDEV-2 - Change OpenCL version number from 3576 to 3577 2023-04-05 07:47:41 +00:00
Ruili Ji 25fe45bb2a SWDEV-383856 - Remove mmap function for SVM buffer
For large bar platform, it's not necessary to mmap
memory allocated on VRAM to cpu again

Change-Id: I0701680476829d4058b3e7b643e8df657d0c6168
Signed-off-by: Ruili Ji <ruiliji2@amd.com>
2023-04-05 07:47:30 +00:00
Juan Manuel MARTINEZ CAAMAÑO 37849a0726 SWDEV-286150 - [NFC] Refactor setLanguage method into a static function called getCOMGRLanguage
* Return the result by value and not through a pointer passed by
parameter

Change-Id: I8f872c95c4a330bebe299d486fb73f36660b469c
2023-04-05 07:47:02 +00:00
Maneesh Gupta 88b4b6428c SWDEV-361630 - Workaround for rocfft build failure
Change-Id: Ie15e17361f2e6cd5f11e6fc1e6755c98cef7f4ce
2023-04-03 14:52:44 +00:00
Maneesh Gupta 52b78d8e79 SWDEV-361630 - Fix loading of versioned comgr for hiprtc
Change-Id: Ib0f604008e9197029eeacd22bc853538cda24cb5
2023-03-31 11:24:50 +00:00
Maneesh Gupta c6760a55d0 SWDEV-361630 - Fix rocm-ocl-icd package
Change-Id: Ib52dff09ee1c72b41c014b5e022cc2d8d79e0754
2023-03-30 09:10:58 +00:00
Maneesh Gupta 3da30ed607 SWDEV-361630 - Updated Readme.md
Change-Id: I2c6a6a331c128742e866c50265d1c5eeaf407e44
2023-03-26 15:42:33 +00:00
Jatin Chaudhary e979130479 SWDEV-361630 Add README, LICENCE and restructured gitignore
Change-Id: I6229140f7d901c9f6dc44288438e68b98f096fc0
2023-03-26 15:42:33 +00:00
Maneesh Gupta 3dccc89dac SWDEV-361630 - Add .gitignore
Change-Id: I8b7630342311bb47f398a4b69227c6cdc327f26a
2023-03-26 15:42:33 +00:00
Maneesh Gupta d9ceb6a3a3 SWDEV-361630 - Enable opencl build
Change-Id: I19f8aa2e8157b8bfa053c502dcd63c52f0b6f104
2023-03-26 15:42:33 +00:00
Maneesh Gupta 1bc186323f SWDEV-361630 - Enable hip build
Change-Id: Icdeaeff555d46e495c3de954b614168995a82a9f
2023-03-26 15:42:33 +00:00
Maneesh Gupta c6a37b698b Merge 'opencl/amd-staging' into amd-staging
Change-Id: I11562fa9ec72cdf669c85f7e06e49ec93225fbad
2023-03-26 15:42:33 +00:00
Maneesh Gupta 854fb9dc95 Merge 'hipamd/amd-staging' into amd-staging
Change-Id: I1bbfe6261643fce1c3ce407452ac545f0111e893
2023-03-26 15:42:30 +00:00
Chauncey Hui b87fc948de SWDEV-2 - Change OpenCL version number from 3575 to 3576 2023-03-14 03:00:07 -04:00
Ioannis Assiouras e6520ddf8a SWDEV-388278 - Fix return HIP_RETURN(x)
Change-Id: I940ee3660a2427eade8690a9318966fb04a1fbe8
2023-03-13 13:32:55 +00:00