Commit Graph

24 Commits

Author SHA1 Message Date
German c6707887ed SWDEV-367745 - Report hipDeviceAttributeUnifiedAddressing
Change-Id: I4d1d598f64f613430fecdc0d6b4cfa9845e04687


[ROCm/clr commit: 2cde04bf9b]
2022-11-15 15:53:02 -05: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
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
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
Tao Sang 64b9f0a192 SWDEV-286739 - Support hipDeviceAttributeWallClockRate
Part 3: Add missing declaration of wall_clock64() to fix
compiling issue in device code.
Add querying hipDeviceAttributeWallClockRate.

Change-Id: Ie54771c2f58eeaacdc0248bc116ef193f99eb9b9


[ROCm/clr commit: 9f9fd859db]
2022-07-28 13:02:42 -04:00
sdashmiz 02661ae763 SWDEV-343160 - correct mutual exclusive flags
- flags passed should be only one type at a time

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


[ROCm/clr commit: 030e7702f1]
2022-07-12 08:35:39 -04:00
Sarbojit Sarkar 7ad62083ee SWDEV-342831 - Fix hipGetDeviceCount return
Change-Id: I3b0338a51027258319c1926ac02de8d0af01d498


[ROCm/clr commit: 4b9ea686f6]
2022-06-27 00:39:08 -04:00
Satyanvesh Dittakavi 32a73102ea SWDEV-336538 - Return hipErrorNotSupported for unsupported APIs
Change-Id: Ie54771c2f58eebacdc0248bc116ef093f99eb9b8


[ROCm/clr commit: c6647487e0]
2022-06-23 07:31:31 -04:00
Sarbojit Sarkar 743a82b77d SWDEV-331066- Added hipDeviceSetLimit
Change-Id: I4de099387ad34ca7c195588274b546649038e2aa


[ROCm/clr commit: 7f92a98a3c]
2022-06-21 06:06:05 +00:00
Christophe Paquot a3c9b7dde6 SWDEV-322620 - Virtual Memory Management
Report virtual memory management support.

Change-Id: I448a66c86ab1b2d28f6052e8896ea505e56eb2d2


[ROCm/clr commit: 60656d9fc9]
2022-05-17 16:24:53 -04:00
German Andryeyev e7d2493402 SWDEV-311271 - Initial mempool implementation
HIP_MEM_POOL_SUPPORT controls memory pool support in runtime.
Currently it's disabled by default. The initial change doesn't
include: IPC, MGPU, virtual memory alloc, suballoc, defragmentation,
internal dependencies.

Change-Id: Ibed8528ebec698b045ebb247e49c0ecd6e587ed7


[ROCm/clr commit: 539d264eb0]
2022-03-31 09:21:37 -04:00
Sarbojit Sarkar 556a37f1de SWDEV-325708 - Query for FineGrained support
Change-Id: I3a8d2bca50d0874c0ff60efa457006876b1fe963


[ROCm/clr commit: 80e1e2e6db]
2022-03-28 07:17:55 -04:00
Christophe Paquot 2a3402f063 SWDEV-323899 - More capping of caps
Change-Id: If8ba22d01326b85455eaaee55e1e2a4b9832ebb2


[ROCm/clr commit: 2ef41ff5be]
2022-03-22 11:02:49 -04:00
Saleel Kudchadker 5e46689191 SWDEV-301947 - Add new query for physical CU count
Add hipDeviceAttributePhysicalMultiprocessorCount to get all
available CUs for a device.

Change-Id: Ie6a2c6e958df9627f39c91d0651b89ef5bffd8fe


[ROCm/clr commit: 9a3b4a93d2]
2022-03-08 17:11:36 -05:00
Saleel Kudchadker 8139cc4683 SWDEV-301667 - Fix build warnings
Change-Id: Ice23b3d1a19a7958ca5c3caff34db2934b361a98


[ROCm/clr commit: 086aee0fcb]
2022-03-02 20:49:18 -05:00
Satyanvesh Dittakavi 51f8fc06e1 SWDEV-306940 - Fix hipamd errors/warnings found by CppCheck
Change-Id: Ia93d4f5262ea4269d8031edbfd27033b887e5300


[ROCm/clr commit: 6e562f4d83]
2022-02-05 08:42:47 -05:00
haoyuan2 86520ebd83 SWDEV-311585 - workaround dynamic loading functional issue in Blender
Change-Id: I815724c0bdcb712e40ec1ed11b9632fab7243f69


[ROCm/clr commit: d1a491b30b]
2021-12-10 11:52:15 -08:00
Tao Sang 68c75c9fb7 SWDEV-303204 - Disable texture/image Apis on some devices
If the target device doesn't support image,
compiler will send out unavailable error if device texture apis
are called; and host texture apis will return hipErrorNotSupported.
Remove useless include/hip/amd_detail/texture_functions.h.
Add hipDeviceAttributeImageSupport attribute to check image
support in runtime.
Add __HIP_NO_IMAGE_SUPPORT(=1) macro in device code to indicate
texture apis not supported.
Change-Id: Ia891493e681a61980a2444859a90e046a9ebea39


[ROCm/clr commit: 5acc8b5102]
2021-12-04 08:14:08 -05:00
Laurent Morichetti cb2eaff241 SWDEV-252801 - Fix return HIP_RETURN(x)
HIP_RETURN(x) is not a value, it is a statement ending with a return,
this commit replaces all instances of "return HIP_RETURN(x)" with simply
"HIP_RETURN(x)"

Change-Id: I03293b2684a65367ff55e02b3a71ea49ec7a517a


[ROCm/clr commit: 3911184607]
2021-09-09 12:19:41 -07:00
anusha GodavarthySurya 64799f183f SWDEV-300471 - updated hipFree to wait for all streams to finish
Change-Id: I4983ef48a9e720ed03128d83a8d23ad11024fd8f


[ROCm/clr commit: c9d9fd992a]
2021-09-02 00:45:24 -04:00
Julia Jiang 6883ccde42 SWDEV-286322 - Remove execution permission
Change-Id: I96e603fc8d407c3a76fa1053bad81e45744b59ad


[ROCm/clr commit: 8835b897d5]
2021-08-05 14:04:06 -04:00
agunashe fae697b4d6 SWDEV-293742 - Update copyrights end year for hipamd
Change-Id: I08f620f84563a9214b59f1b943ed091b67229eab


[ROCm/clr commit: d9d9e81acb]
2021-07-09 12:08:39 -04:00
Christophe Paquot 96f580a267 SWDEV-276396 - Implement hipDeviceReset
Add a hip::Stream::destroyAllStreams static function to destroy all streams
Also call MemObjMap::Purge

Change-Id: I6ee7e3f26ab1f1870a9271c65e99fb818134482b


[ROCm/clr commit: bea4fa8700]
2021-06-15 13:13:09 -04:00
Rahul Garg dd95d3d23c ROCMOPS-1956 - Push restructured code to hipamd
hipamd will have AMD's ROCCLR based HIP backend implementation

Change-Id: Id7de9634519b4ce46fca71a1b61f3d5b1e3fc459


[ROCm/clr commit: 19c84bc604]
2021-06-07 21:42:44 +00:00