Ioannis Assiouras
633e720da4
SWDEV-393199 - Added new include file for opengl interop mappings for nvidia
...
Change-Id: I2e955a9dd06539939188a5f2e1dde4f173af1202
2023-05-03 19:43:24 -04:00
kjayapra-amd
7f41a96ffb
SWDEV-378006 - Adding a new guarantee macro to support printing args.
...
Change-Id: I2083ddaf8058759bdace7d3bb1e8e3670cbeddd2
2023-05-03 12:43:16 -04:00
taosang2
381e6520d0
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
2023-05-02 10:01:13 -04:00
pghafari
31b362bf6e
SWDEV-369567 - dimension check update
...
Change-Id: I31deb5070d4852db7dd6d37f9a514965f387698e
2023-05-02 08:04:04 -04:00
Jatin Chaudhary
54f73e430b
SWDEV-1 - Fix incorrect SGPR usage in VGPR calculation. Pointed out by #58 issue on hipamd public repo
...
Change-Id: I8c27c0da254521714c92369990aa10f6fc09c246
2023-05-02 03:53:18 -04:00
Jaydeep Patel
cbd91bdc19
SWDEV-395559 - Move unsigned short up.
...
Change-Id: I3373a7bc22e632dc10b94b93ff023444d456b2b7
2023-05-02 00:43:36 -04:00
taosang2
2f2d02649f
SWDEV-396574 – Refactor device mapping functions
...
Refactor mapFrom(), mapTo(), mapElem(),
__hip_is_surf_channel_type() and
__hip_is_itex_channel_type()
Change-Id: I1692b92d407bad742d562678f218ebf8ca532e91
2023-05-01 13:57:10 -04:00
sdashmiz
544318fffe
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
2023-05-01 13:38:59 -04:00
Ajay
22eae6ac9e
SWDEV-374386 - hipGraphAddMemcpyNode negative cases
...
validate 3d memcpy params -
pitch, extend - height/width/depth, src/dst offsets and total size
Change-Id: I629fc242264ebbc3e9dbfd9233da8d3a127500b4
2023-04-28 12:11:24 -04:00
Maneesh Gupta
ccad05fe01
SWDEV-1 - Search for doxygen config in old and new locations
...
Change-Id: Iebe7295c7200cc164cb32047df96aa70dec75bf4
2023-04-27 04:57:12 -04:00
German Andryeyev
3e5803c4c0
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
2023-04-26 15:25:01 -04:00
Satyanvesh Dittakavi
a67f354cec
SWDEV-395413 - Fix fp16 header errors with -Werror in hiprtc
...
Change-Id: I7875b91758e826b439c67ac9f211a20f9b6133f0
2023-04-26 13:05:20 -04:00
Sourabh Betigeri
7aba1cf4cd
SWDEV-392367 - Fixes hipMemGetAddressRange returning device buffer size as 0
...
Change-Id: I6b5640b544390b2dfc53fad271acc7f30240e274
2023-04-25 13:46:52 -04:00
Jaydeep Patel
b6aa27d4a3
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
2023-04-25 13:24:26 -04:00
taosang2
650b6767c4
SWDEV-390626 - Fix wrong mapping functions
...
Remove wrong functions
__hipMapFromNativeFloat4()
__hipMapToNativeFloat4()
Replace them with mapFrom() and mapTo()
Change-Id: I1692b92d397bfd732d562778f918ebf8ca532e93
2023-04-25 13:19:00 -04:00
German
31697779bb
SWDEV-353281 - Don't add the same stream into the list
...
Change-Id: I7f41de68b669dc759bdb11657dd897ad57e368fc
2023-04-25 10:21:55 -04:00
pghafari
afa15ddb89
SWDEV-367145 - adding support for timeline semaphore
...
Change-Id: I654359b48abe8bbaac2def5118d3ad0bb05d9492
2023-04-25 10:02:43 -04:00
sdashmiz
261ce9837c
SWDEV-387508 - do not treat uuid as string
...
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: I4de88330650eba4e4259686cdb5fb089b17aa8e4
2023-04-25 09:52:12 -04:00
Jaydeep Patel
3dfe48b582
SWDEV-390597 - Return No Device error for hipSetDevice and hipSetDeviceFlags.
...
Change-Id: I457b1197a8f1b71a8bbbdf09f193f643c61700b6
2023-04-24 03:50:33 -04:00
Jaydeep Patel
3c5888922e
SWDEV-389648 - Find node and then erase.
...
Change-Id: Iecf78fe6b0645e58b4de6658b59ad1285946b698
2023-04-19 01:05:58 -04:00
Jaydeep Patel
415fb15c76
SWDEV-389477 - Check D2D is intra device.
...
Change-Id: Ibef2a6de82a18357ef35bcd70298478de6b0e380
2023-04-19 01:01:12 -04:00
Jaydeep Patel
2576153acd
SWDEV-388943,SWDEV-388954 - Corrected validations for memcpy kind.
...
Change-Id: I8338111ac46e4eba279d53969d12df3a23552049
2023-04-19 01:00:50 -04:00
Jaydeep Patel
7215451db9
SWDEV-388958 - SWDEV-388929 - Kind can be hipMemcpyDefault for H2D and D2D and srcMemory can be allocated using hipHostMalloc for H2D.
...
Change-Id: I187ff850ebb890b357ee03500105b71468508ea2
2023-04-19 01:00:28 -04:00
Jaydeep Patel
09a081235c
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
2023-04-19 01:00:09 -04:00
Jaydeep Patel
e8eb1772f2
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
2023-04-19 00:58:49 -04:00
pghafari
78de2ae692
SWDEV-366992 - adding handle type for vk interop
...
Change-Id: I79ee0d89b948c21b96709e9e607abe7901621a97
2023-04-18 16:59:25 -04:00
German Andryeyev
e82eecf33e
SWDEV-231145 - Add a validation for uniform launch
...
Change-Id: I68d61690c50060d9dcca117b248dddf69204a23f
2023-04-18 12:56:09 -04:00
German Andryeyev
73698479a9
SWDEV-382359 - Workaround a non-uniform launch in MIOpen
...
Change-Id: I0abff25fb20143225739e771c4d3bae5c2a054b9
2023-04-18 11:36:10 -04:00
Satyanvesh Dittakavi
a3104c60e1
SWDEV-393060 - Address directed tests build failures with CLR
...
Change-Id: I76b93ee073d21ec5fae0db5a129ada89f750855d
2023-04-14 03:53:51 -04:00
Ajay
e5a300f892
SWDEV-393406 - hip catch/directed tests on nvidia
...
fix the duplicate symbolic link issue
Change-Id: I472dfba80263d0f1d275d8e149007322c8af3f7c
2023-04-10 19:54:23 +00:00
Ajay
5e9545fdfd
SWDEV-361630 - clr to be able to build hip directed tests
...
Change-Id: I85b45c52573683a963ac2b4ee0ec7c79653ecc4d
2023-04-07 14:21:34 -04:00
Ranjith Ramakrishnan
267b342523
SWDEV-351540 - ASAN packaging for hip
...
Package ASAN libraries and license file
Suffix "asan" added to package name
Change-Id: Ia02bb55be0bd415dbd372b39ce884c38d8c3dcbf
2023-04-07 11:54:48 +00:00
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