pghafari
bb765cafaf
SWDEV-369042 - updating to GetError to match cuda
...
Change-Id: I0ec2330443b26cb1c8cedba942f31fb1267cd09d
[ROCm/clr commit: 335a24d1a0 ]
2023-01-06 05:33:41 -05:00
Juan Manuel MARTINEZ CAAMAÑO
f91da83d6a
SWDEV-290384 - Missing hiprtcResult case in hiprtcGetErrorString
...
Change-Id: I11d18ff19f6f6f1b36febf87a586bc9ffb95af10
[ROCm/clr commit: 537df06c4f ]
2023-01-06 03:38:44 -05:00
Satyanvesh Dittakavi
54c5fa36d8
SWDEV-375020 - Revert "SWDEV-370552 - Improve hiprtc performance by passing the right flags to comgr"
...
This reverts commit 96d28fd15d .
Reason: Adding "-Xclang" and "-disable-llvm-passes" in hiprtc
compilation seem to cause perf issues and memory fault in few apps.
Change-Id: I12ff46293c7b7afb24d570351736d884d2881b77
[ROCm/clr commit: 516acd4e60 ]
2023-01-06 00:09:06 -05:00
Ajay
01f4d7eac3
SWDEV-369618 - hipOccupancyMaxPotentialBlockSizeVariableSMemWithFlags invalid flag scenario
...
Change-Id: I07df2640be71a6b0aed160d54e80ffdeb85ec554
[ROCm/clr commit: 3e4ed8d917 ]
2023-01-05 23:40:29 -05:00
Jaydeep Patel
f9574cd645
SWDEV-374372 - Return invalid value if pitch is less than width in bytes.
...
Change-Id: I33806d747cd344250d02e217de8e9b6d5a7f83c1
[ROCm/clr commit: 7c32f66e67 ]
2023-01-05 10:40:14 -05:00
Jaydeep Patel
f6a5cd9e33
SWDEV-374373 - Occupied size should be within range.
...
Change-Id: I20e24c628c51154c2f8f36dca0a6fa4ead1ee6d0
[ROCm/clr commit: 67792dd858 ]
2023-01-05 08:02:20 -05:00
Anusha GodavarthySurya
7f56e0e09c
SWDEV-373173 - Correct max VGPRs and VGPR Granularity in Occupancy calculation for different asics
...
Change-Id: Ib213ed8767a793a832776fba7c0811c2f023a8ad
[ROCm/clr commit: 067c7316ba ]
2023-01-04 01:34:40 -05:00
German Andryeyev
d8f1606489
SWDEV-360031 - Erase destroyed stream from capture
...
Parallel streams can be destroyed during capture. Make sure runtime
removes the destoryed streams from the list of parallel captured streams
Change-Id: I46b6cbb951e8711f0bf02f2826c3b890b2541ffe
[ROCm/clr commit: 38ad6234f9 ]
2023-01-03 13:34:07 -05:00
Satyanvesh Dittakavi
47167d7e7a
SWDEV-374371 - hipGraphAddMemsetNode should return error if width is 0
...
Change-Id: I1cd4be271f65c9cade8dddb6d00191e1b74c96bc
[ROCm/clr commit: 409f23d905 ]
2023-01-03 10:29:16 -05:00
sdashmiz
09a1db7005
SWDEV-370309 - GetNodes should do levelorder
...
- GetNode should retrun nodes based on the dependency between them
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: Ie8ecdd976f8dc9d9b5dc2adc6ae8f879912c8169
[ROCm/clr commit: ce60d47b61 ]
2023-01-03 04:54:55 -05:00
Jaydeep Patel
2d25a60c1a
SWDEV-374370 - Propogate element size to blit kernel.
...
Change-Id: I8a3355c62947265be34e6a2befd26f86b3dc6cd2
[ROCm/clr commit: f2b0542442 ]
2023-01-01 23:54:09 -05:00
pghafari
b0bc6d6c7e
SWDEV-356549 - del Null strm in destroyAllStreams
...
Change-Id: Ie04172ee39e6333247d07791dffda753a8b9ef41
[ROCm/clr commit: a643c199de ]
2022-12-29 15:45:54 -05:00
Rakesh Roy
981137d2af
SWDEV-374789 - Validate HostQueue before accessing it
...
- hip::getQueue will return nullptr when comgr fails to load blit kernels.
Change-Id: I3bea1f5c13301d4a35e40ab7c6faa73f9c6aecf4
[ROCm/clr commit: 95b2441cbc ]
2022-12-28 01:04:10 -05:00
pghafari
6bae9dde0a
SWDEV-369580 - hipModuleGetTexRef matching cuda
...
Change-Id: I3f071fe0b289c0ba8316c691f066f47d12b156b5
[ROCm/clr commit: 2c906460cb ]
2022-12-27 13:58:26 -05:00
Anusha GodavarthySurya
609598cd15
SWDEV-345571 - Added support for half/half2 data types for warp shuffle functions
...
Change-Id: Ia0791760c1b0a35bbbf0b1f8435aa924af205169
[ROCm/clr commit: ad1fae7df4 ]
2022-12-26 01:24:06 -05:00
Ioannis Assiouras
49a3b0c6ba
SWDEV-374393, SWDEV-373631 - Added input checks for hipMemcpy2D/3D
...
Change-Id: I5ae57326c35b599d9ecec05e2a22bc6086027322
[ROCm/clr commit: 1278cf555e ]
2022-12-22 11:21:55 -05:00
Ioannis Assiouras
65f79be5f7
SWDEV-374355, SWDEV-374356, SWDEV-374357, SWDEV-374358, SWDEV-374359 - Added input sanity checks to hipExternalMemoryGetMappedBuffer
...
Change-Id: I61e43dece3fb9bd961e92db8e015f08170327538
[ROCm/clr commit: 99d2d016c1 ]
2022-12-22 10:46:10 +00:00
Jaydeep Patel
376f515547
SWDEV-374398 - Pitch should not be less than width for both src and dst.
...
Change-Id: Ib8fa8e3bd0c655f3de213b3798d369ba866b2f01
[ROCm/clr commit: c4003ef62a ]
2022-12-21 23:08:55 -05:00
Anusha GodavarthySurya
b534cb32d2
SWDEV-373147 - Return error when getDeviceKernel returns nullptr
...
Change-Id: Ie9fcaa2bff87cb8ef363dc7e8362b74b8725b3b6
[ROCm/clr commit: 707ca92a80 ]
2022-12-21 22:14:10 -05:00
Ioannis Assiouras
0019cfdf7c
SWDEV-374392 - Make hipMemCpy2/3DAsync synchronous for any HostToHost and DeviceToPageableHost
...
Change-Id: Iaa411681a49427a9e9b3a06e90abb0b32f5a6851
[ROCm/clr commit: d29a2e545d ]
2022-12-21 14:59:39 -05:00
Ioannis Assiouras
be16c31b60
SWDEV-374402 - Added check for invalid events in hipExtLaunchKernel
...
Change-Id: I8dfd69aa1ef38971a72b98c723d2099347a66d11
[ROCm/clr commit: b83271b4ca ]
2022-12-21 12:37:12 -05:00
Jaydeep Patel
5bc671c8c6
SWDEV-374382 - Change hip error type to context is destroyed instead for invalid stream.
...
Change-Id: I5ed22463204d7bff3741599eeced3d030da78fc4
[ROCm/clr commit: 845bf0adb4 ]
2022-12-21 12:54:39 +00:00
Jaydeep Patel
e5a9c5b85b
SWDEV-374394 - Correct hip error for invalid stream.
...
Change-Id: I96949c58e050cb3149ab8434aebe0f1a97a6e857
[ROCm/clr commit: 148f67a36d ]
2022-12-20 21:27:56 -05:00
Ioannis Assiouras
1ddb9a2ddf
SWDEV-374402 - Added input stream check for hipExtLaunchKernel
...
Change-Id: I42915c3b9b10b4a4a5b3ae74b6a2dccc8fddbf7f
[ROCm/clr commit: f4f377bcaa ]
2022-12-20 14:29:58 -05:00
Ioannis Assiouras
c4d2a2c557
SWDEV-374400, SWDEV-374404 - Change error message in hipFuncGetAttribute(s) to match nvidia.
...
Change-Id: I95b69a49ced24115f0aebc288ea067a49b770aca
[ROCm/clr commit: 97c5f772c6 ]
2022-12-20 12:49:17 -05:00
pghafari
23b51242fd
SWDEV-369575, SWDEV-369568, SWDEV-369574 - matching
...
matching cuda return value
hipModuleLaunchKernel and hipExtModuleLaunchKernel matching with cuda in
negative cases
Change-Id: I636070924c81116dccbfa74f693061c60530de45
[ROCm/clr commit: 3b143cf3a2 ]
2022-12-20 12:24:23 -05:00
Jaydeep Patel
bd59bad586
SWDEV-374395 - Correct rhs.
...
Change-Id: I433d60344a6d23bc48f4db58d5501af89bc1989c
[ROCm/clr commit: 027f71ccfb ]
2022-12-20 11:38:11 +00:00
Satyanvesh Dittakavi
96d28fd15d
SWDEV-370552 - Improve hiprtc performance by passing the right flags to comgr
...
Change-Id: I99674b033d1248d9b34ac598b4780bd84a38c279
[ROCm/clr commit: 627e689ad7 ]
2022-12-19 06:16:56 -05:00
Satyanvesh Dittakavi
42766fde8b
SWDEV-372767 - Fix hipCUB and rocWMMA build failures
...
Change-Id: If3672fd50075c67cfce4d94e73b1376c4aa8d2ae
[ROCm/clr commit: e90721435b ]
2022-12-16 03:08:18 -05:00
pghafari
7190c59c65
SWDEV-369576, SWDEV-369578, SWDEV-369577, SWDEV-369579, SWDEV-369563 - matching cuda return value
...
SWDEV-369576, SWDEV-369578, SWDEV-369579, SWDEV-369563 - matching cuda return value
Change-Id: I21b598e959571979307238c485492eb7fe2388cc
[ROCm/clr commit: c0f779fdf1 ]
2022-12-16 01:12:49 -05:00
kjayapra-amd
67cf4a5107
SWDEV-363865 - Use COMGR path to unbundle code object in HIPRTC.
...
Change-Id: Ifca29ea0c6ff319c3f584397e542a1658d220c4a
[ROCm/clr commit: 2f8847bfbd ]
2022-12-15 07:16:55 -05:00
Jacob Lambert
50a845c43a
SWDEV-322000 - Removing scoped locks in code regions with Comgr calls
...
Comgr now internally locks to avoid multi-threading issues with LLVM
Change-Id: I74b903d373af55c2efade17a9caf31fda3ca1795
[ROCm/clr commit: 2835ff1a63 ]
2022-12-14 12:40:45 -05:00
Ioannis Assiouras
f3c412b183
SWDEV-369548 - Disallow opening an ipc mem handle in the originating process.
...
Change-Id: Icce5e41a220566141bd7d92b7199d477f60bed8e
[ROCm/clr commit: 30e740023b ]
2022-12-14 04:52:21 -05:00
Ioannis Assiouras
f1407eb433
SWDEV-373235 - Fixed segfault when nullptr function is passed to hipKernelNameRef
...
Change-Id: If23fbbd19ad92fd0b3fa888dca09e7fe705c0c56
[ROCm/clr commit: 1274f2a54c ]
2022-12-13 07:09:03 -05:00
Anusha GodavarthySurya
09b894eeef
SWDEV-325711 - Node can be enabled/disabled only for kernel, memcpy and memset nodes
...
Change-Id: Id9c19a14655732d61fccee9c3d1ffa0614123468
[ROCm/clr commit: 0fcc5557bd ]
2022-12-13 05:08:38 +00:00
Anusha GodavarthySurya
e1b559e386
SWDEV-372521 - Fix copy of unused kernel attributes
...
Change-Id: Ib93f27d68cedac2182ba6dac0c234cc71c2c4229
[ROCm/clr commit: 5bcfb07c85 ]
2022-12-13 03:44:10 +00:00
kjayapra-amd
c3c4eb85d3
SWDEV-371904 - Adding pseudo fine grain flag to hsa memory allocation for device fine grained memory.
...
Change-Id: I8c605d6bc3ac905bfffc6de3a56911151ef0e663
[ROCm/clr commit: f7c194edf7 ]
2022-12-12 11:40:00 -05:00
pghafari
c4fc6ea3ab
SWDEV-369566, SWDEV-369565, SWDEV-369564 - match with cuda return
...
Change-Id: I308f5344a64e5a06aa89685de9348f6722c196da
[ROCm/clr commit: 698f52acd8 ]
2022-12-12 09:53:18 -05:00
Jacob Lambert
0a2f9b7017
SWDEV-370606 - Omit deprecation warnings from Werror
...
Comgr would like to include deprecation warnings for soon-to-be-removed
features. Therefore, when building with Comgr headers we need to
exclude deprecation warnings from Werror
Change-Id: I6c9563be3e066c493dd8e459fc07c7523e2854e3
[ROCm/clr commit: 02daeb01b4 ]
2022-12-09 18:07:44 -05:00
Satyanvesh Dittakavi
a17cc5c6ba
SWDEV-372032 - Support cooperative groups header with HIPRTC
...
Change-Id: Ia64652fd52b210a4eeee9d38fdfdfa6fdc7163ff
[ROCm/clr commit: 91291e48db ]
2022-12-09 04:45:59 -05:00
Satyanvesh Dittakavi
ea4ee7ed93
SWDEV-366306 - SWDEV-366314 - Add hip vector types and hip bfloat16 to HIPRTC cmake
...
Change-Id: If4213c3ca9446afe931c6b111c220033987e0204
[ROCm/clr commit: 88270b34f2 ]
2022-12-09 04:43:51 -05:00
Ioannis Assiouras
e609c247ec
SWDEV-369581 - Convey copy API metadata to ROCclr
...
Change-Id: I6fcd2c2dbec887199de538326a7826bd29a25ca0
[ROCm/clr commit: 337976febf ]
2022-12-09 00:27:35 -05:00
pghafari
f1dda2b2b3
SWDEV-369668 - update error check for hipGetError
...
Change-Id: I8f991237d59d04c9b6b3965a453ba3f54718eb43
[ROCm/clr commit: 52878fd039 ]
2022-12-08 15:56:49 -05:00
German Andryeyev
b4f089f6e7
SWDEV-353281 - Relax prof script validation
...
Report a warning on HIP header mismatch
Change-Id: Ib6fb32161b7de14881ef88cff6c95e6b432999db
[ROCm/clr commit: 6d3b8d0106 ]
2022-12-08 12:57:13 -05:00
sdashmiz
6a661a9f15
SWDEV-367833 - return success for null stream
...
- return success for query on null stream
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: Ifc2cf705e1962565c68de7b1777f870c5a4d56cf
[ROCm/clr commit: fefff25364 ]
2022-12-08 11:41:37 -05:00
pghafari
ed6108c2d6
SWDEV-368166 - hipGraphAddMemcpyNode1D paramcheck
...
adding parameter check for hipGraphAddMemcpyNode1D
Change-Id: I94dc944bd55ea04b8e9288a27c8f58dd3720161b
[ROCm/clr commit: 5acc2cdcc2 ]
2022-12-07 18:29:11 -05:00
Jaydeep Patel
2411eeba32
SWDEV-366086 - Validations for negative scinerios.
...
Change-Id: Icca87de775bf7f8c4d18f911f7bee21fafdcff55
[ROCm/clr commit: e2279b3869 ]
2022-12-06 21:27:37 -05:00
kjayapra-amd
74adc2e9f2
SWDEV-241902 - Using COMGR APIs for extracting Code object.
...
Change-Id: I2dd662babf805d2de6e037bf41f7306e523da7d5
[ROCm/clr commit: 5e4f430e03 ]
2022-12-06 12:17:12 -08:00
Ioannis Assiouras
1ac4a6e0c3
SWDEV-369572 - Check for valid stream before capture
...
Change-Id: I712ce136327ad459a048d84d1caeec506ed1cc39
[ROCm/clr commit: 6847427dd4 ]
2022-12-05 22:09:07 +00:00
Satyanvesh Dittakavi
63d37c8ae7
SWDEV-369955 - Support hipDrvGetErrorString and hipDrvGetErrorName on Nvidia headers
...
Change-Id: I54cfa8faed2f45f310682625f94952aa3c2ee27f
[ROCm/clr commit: d413375d51 ]
2022-12-02 11:52:07 -05:00