Commit Graph

167 Commits

Author SHA1 Message Date
Sam Ruscica 9018e0fc7b SWDEV-546639 monorepo fix for nvidia hip runtime api (#746)
* SWDEV-546639 monorepo fix for nvidia hip runtime api

* Added back hipSetValidDevices.
2025-08-28 09:03:37 -07:00
Satyanvesh Dittakavi 09cfa97156 SWDEV-551218 - Fix hip on nvidia build failures (#642)
* Rebase and address merge conflicts

* SWDEV-551218 - Fix hip on nvidia build failures
2025-08-26 23:40:35 +05:30
systems-assistant[bot] 832af6d472 SWDEV-545953 - Add Nvidia mapping for hipStreamGetId (#456)
Co-authored-by: Satyanvesh Dittakavi <Satyanvesh.Dittakavi@amd.com>
2025-08-26 21:35:17 +05:30
Danylo Lytovchenko f7338717ae SWDEV-470698 - fix formatting, add format check workflow (#657) 2025-08-20 19:58:06 +05:30
Manocha, Rahul 13d54a3ec1 Fix typo in hipBatchMemOpParamsTocudaBatchMemOpParams (#38)
Co-authored-by: Rahul Manocha <rmanocha@amd.com>

[ROCm/hipother commit: ed7fae51d8]
2025-08-18 12:09:09 -07:00
Betigeri, Sourabh b5ca920dee SWDEV-546293 - Adds nvidia mappings to hipMemPrefetchAsync_vs and hip… (#36)
SWDEV-546293 - Adds nvidia mappings to hipMemPrefetchAsync_vs and hipMemAdvise_v2

[ROCm/hipother commit: bf0302a494]
2025-08-15 22:44:41 -07:00
Li, Todd tiantuo 38d5d2b55d SWDEV-546285 - add hipGetDriverEntryPoint (#35)
[ROCm/hipother commit: 87f262a56f]
2025-08-15 22:38:34 -07:00
Manocha, Rahul 7de3300370 SWDEV-546328 - cuda mappings for hipMemsetD2D8 (#34)
Co-authored-by: Rahul Manocha <rmanocha@amd.com>

[ROCm/hipother commit: a7580daf57]
2025-08-15 13:22:56 -07:00
Manocha, Rahul 93d8b3a489 SWDEV-546295 - cuda mappings for hipMemcpy3DBatchAsync and hipMemcpyPeer (#33)
Co-authored-by: Rahul Manocha <rmanocha@amd.com>

[ROCm/hipother commit: 60ecc06a1c]
2025-08-15 13:22:27 -07:00
Manocha, Rahul 490d079a01 SWDEV-545952 - cuda mappings for StreamGet/Set Attr (#32)
Co-authored-by: Rahul Manocha <rmanocha@amd.com>

[ROCm/hipother commit: 91a7a8d767]
2025-08-15 13:21:52 -07:00
GunaShekar, Ajay ceaa8c8475 SWDEV-546178 - hipModuleLoadFatBinary nvidia impl (#26)
[ROCm/hipother commit: 5107c35166]
2025-08-15 12:37:44 -07:00
GunaShekar, Ajay 70b7ec09c4 SWDEV-546179 - nvidia impl hipModuleGetFunctionCount (#25)
[ROCm/hipother commit: f183894732]
2025-08-13 20:28:35 -07:00
Dittakavi, Satyanvesh 526b46e9ba SWDEV-545947 - Add Nvidia mapping for hipSetValidDevices (#29)
[ROCm/hipother commit: 98ef2f64b5]
2025-08-12 16:30:30 +05:30
Stojiljkovic, Vladana e87848cdc7 SWDEV-541362 - Add nullptr check for memsetParams (#22)
[ROCm/hipother commit: f638aa91eb]
2025-07-14 11:02:37 +02:00
Manocha, Rahul dbf3fb64e3 SWDEV-533787 - Add cuda mapping for hipMemGetHandleForAddressRange (#14)
Co-authored-by: Rahul Manocha <rmanocha@amd.com>

[ROCm/hipother commit: 607ffbef03]
2025-07-11 14:27:46 -07:00
Assiouras, Ioannis b116f7d17f SWDEV-508965 - [6.4 Preview] Remove HIP_MEMSET_NODE_PARAMS struct (#11)
[ROCm/hipother commit: ed4a99ba5c]
2025-05-21 21:25:17 +05:30
Manocha, Rahul 19573225a5 SWDEV-489106 - Cuda mappings for Linker APIs (#8)
Co-authored-by: rmanocha@amd.com <Dragoslav.Sicarov@amd.com>

[ROCm/hipother commit: bb66090875]
2025-05-08 09:34:41 -07:00
GunaShekar, Ajay fc1d9a1c10 SWDEV-523281 - hipLaunchKernelExC nvidia impl (#5)
[ROCm/hipother commit: 27b12ec7cc]
2025-04-09 15:39:39 -07:00
Julia Jiang f07191a748 SWDEV-509855 - Update hipDeviceAttributePciDomainID in hipother
Change-Id: Ib245c90c78a27ea48875aa183c1727a17b62c936


[ROCm/hipother commit: 3cdab14a23]
2025-03-06 15:34:29 -05:00
Julia Jiang acc7ea639a SWDEV - 508961 - Update requestedHandleType in hipother repos
Change-Id: I50b91dfb42bd2a4daae80a3353b642e9df03fe46


[ROCm/hipother commit: f327d4f809]
2025-02-26 11:14:58 -05:00
Marko Arandjelovic 71418041e7 SWDEV-499927 - Add nullchecks to hipMemCreate and GetAllocationGranularity
Change-Id: I9bb879ce2c702e660ae5e6372cb27fdb8600566b


[ROCm/hipother commit: aea1990fe0]
2025-02-21 21:51:55 +05:30
victzhan 1f7400d7bf SWDEV-477218 - add hipDeviceGetTexture1DLinearMaxWidth API
Change-Id: I0532360ef298cb2353ae0182b17f8024e7bb3dae


[ROCm/hipother commit: 55c17fb4dc]
2025-01-15 10:01:47 -05:00
Marko Arandjelovic 4bae839601 SWDEV-499927 - Fix param handling in hipMemAccess APIs
Change-Id: If7c168e28fc94137abf33e4083b7af9515f24298


[ROCm/hipother commit: 011c022e70]
2024-12-23 20:05:27 -05:00
Marko Arandjelovic e6e0201969 SWDEV-499927 - Added nullptr checks to prevent segfaults
Change-Id: I6c721340d195f803a48187009d714c94587f098d


[ROCm/hipother commit: d38eb853a0]
2024-12-17 18:01:40 +05:30
Sourabh Betigeri a421a72d8f SWDEV-484578 SWDEV-484575 SWDEV-484573 SWDEV-483324 SWDEV-483323 - Fixes issues in nvidia mappings for batch mem ops
Change-Id: I6202ea5691b8256e004650d2689c2826a53d8113


[ROCm/hipother commit: 1d96ab69ee]
2024-12-12 01:26:45 -05:00
Jaydeep Patel b7a1df8fb0 SWDEV-477219 - Add missing curly brace.
Change-Id: I58268d4c2f3cdc0d647deea51b250117e77d82ae


[ROCm/hipother commit: 86fbfba69e]
2024-12-12 00:17:04 -05:00
Sourabh Betigeri 731d8ae5ff SWDEV-484578 SWDEV-484575 SWDEV-484573 SWDEV-483324 SWDEV-483323 - Adds nvidia mappings
For hipStreamBatchMemOp, hipGraphAddBatchMemOpNode, hipGraphBatchMemOpNodeSetParams,
hipGraphBatchMemOpNodeGetParams, hipGraphExecBatchMemOpNodeSetParams APIs

Change-Id: I54a42fe070ee4a9e0ae41718b79f96aed883db5e


[ROCm/hipother commit: 4fd3f70f51]
2024-12-10 23:48:15 -05:00
Jimbo Xie ff5e5c5e98 SWDEV-477219 - hipEventRecordwithFlags hipother
Change-Id: I17313697f24ab095f134da0873148962114df5fc


[ROCm/hipother commit: 0b82c50300]
2024-12-09 16:41:55 -05:00
Marko Arandjelovic 3b5b8e075f SWDEV-499927 - Fix hipMemAllocationProp
- The member of the hipMemAllocationProp struct is named requestedHandleTypes. However, in HIP, it is named requestedHandleType. I have decided not to follow CUDA's naming convention, as it would require a lot of changes across HIP repositories (clr, hip, hip-tests).
 - Fix hipMemGetAllocationPropertiesFromHandle to update out parameter properly.

Change-Id: I8417a2e73b0ee9fa5ca0d36546e75cfce82cbf3e


[ROCm/hipother commit: f65d41442f]
2024-12-05 04:55:54 -05:00
Marko Arandjelovic 7a0356f8e1 SWDEV-483312 - Add cuda driver API's interfaces
Change-Id: Ib37cc6085898ae9dc86e509503cd52b61c1a5356


[ROCm/hipother commit: 66367f3ec6]
2024-11-29 12:16:06 +02:00
Branislav Brzak 2896b2c2d9 SWDEV-483315 - Add hipGraphNodeGetDependentNodes_v2
Change-Id: I418d0c2a5a77b07603e4e481fd9547cf43b03a20


[ROCm/hipother commit: e22853eb4d]
2024-09-30 11:51:11 -04:00
Ajay GunaShekar 927cc12c33 Revert "SWDEV-483315 - Add hipGraphNodeGetDependentNodes_v2"
This reverts commit b5ee5efbaa.

Linux builds silently failing. Please look at the build logs

Change-Id: I1caeff6e5cf48697a36f7680b1ef31bcab93b6df


[ROCm/hipother commit: a74f9e1770]
2024-09-27 15:53:04 -04:00
Branislav Brzak b5ee5efbaa SWDEV-483315 - Add hipGraphNodeGetDependentNodes_v2
Change-Id: I1ac0fb50df248521dfaae283bf9017acce146279


[ROCm/hipother commit: f50835c1fd]
2024-09-24 12:23:16 +02:00
Marko Arandjelovic 40921ad019 SWDEV-483312 - Add graph API's interfaces
Change-Id: I83afcc2ba2df3f4dc444c4dcde4e5bf2edefdd9a


[ROCm/hipother commit: c944fb9426]
2024-09-09 07:43:21 -04:00
Vladana Stojiljkovic 85d76f6cd1 SWDEV-475987 - Add mapping for missing CUDA error codes
Change-Id: I4cc5cb786fa4c7cc67cc037b00edad63d811ca73


[ROCm/hipother commit: 1a12bbf19c]
2024-09-04 12:26:09 -04:00
Jaydeep Patel 264a149df9 SWDEV-479043 - Add mapping for hipStreamLegacy.
Change-Id: I35f699641624b5ef15e5bc1b3c669a2e74547453


[ROCm/hipother commit: 9ea767377e]
2024-08-21 00:18:42 -04:00
Ioannis Assiouras 16aaab2ab3 SWDEV-470372 - Un-deprecate hipHostAlloc, comply with cuda and introduce hipHostAlloc flags
Change-Id: I0c6910306ff98d97e9f8a6ccf467be6189e1ca86


[ROCm/hipother commit: 335bb33f1b]
2024-08-16 06:33:28 -04:00
Vladana Stojiljkovic 3abef40e83 SWDEV-477711 - Add mappings for hipTexRefSetMaxAnisotropy and hipTexRefGetMaxAnisotropy
Change-Id: Ifab9ec542edf97c314d1fb47cd14461089902db4


[ROCm/hipother commit: 7b46a48be3]
2024-08-13 12:41:46 -04:00
Vladana Stojiljkovic c73afcae3a SWDEV-477711 - Add mapping for hipTexRefGetFlags
Change-Id: I008ab15256bde3786d59f2bda4b34a3336dc5edf


[ROCm/hipother commit: 58ec72277f]
2024-08-13 12:41:00 -04:00
Marko Arandjelovic e6cf9bf06f SWDEV-477699 - Add mapping to cuTexRefGetBorderColor and cuTexRefSetBorderColor
Change-Id: Id9e6874c5d075ddfcdb617aa7294bc40d2277a44


[ROCm/hipother commit: 4d0e2fe224]
2024-08-12 14:36:50 -04:00
Marko Arandjelovic b352497357 SWDEV-477711 - Map hipTexRefGetFormat to cuTexRefGetFormat
Change-Id: I21297fab6b5e420f2de5f24f9d1c7545e3e6af09


[ROCm/hipother commit: f9d31c596e]
2024-08-12 02:38:10 -04:00
Marko Arandjelovic e7356c1f4f SWDEV-476869 - build fix for cuda version < 12000
Change-Id: I9086ffc0e5e0c1e9748163c8433c9e78c83d8f72


[ROCm/hipother commit: cc4fdd8d97]
2024-08-09 14:04:56 +02:00
Vladana Stojiljkovic 3ee145fff9 SWDEV-477711 - Add mapping for hipTexrefGetAddressMode
Change-Id: I8c721921760f0f09f2d93879eeeb97f457da6c58


[ROCm/hipother commit: 4f4b13e498]
2024-08-06 11:33:46 -04:00
Vladana Stojiljkovic 7a8a263cf7 SWDEV-432785 - Remove the mapping of __shfl* to __shfl*_sync functions on CUDA
Change-Id: I93d2ce360b834b3da01731cabc22841f7d0a092d


[ROCm/hipother commit: eb16d72255]
2024-08-06 04:38:05 -04:00
Marko Arandjelovic babc011b35 SWDEV-476823 - Add mapping to cuTexRefGetAddress
Change-Id: I51fbcf704ae585d13a08537eaae30243b4c52d49


[ROCm/hipother commit: ba9c7c3f21]
2024-08-05 14:46:19 -04:00
Marko Arandjelovic 2d77f784a1 SWDEV-477086 - Add mapping to cuTexRefGetArray
Change-Id: I3a1b96a2a0c8d4281cdc934aa582a86f24d80b28


[ROCm/hipother commit: fe927012cb]
2024-08-05 14:46:10 -04:00
Marko Arandjelovic d5139b29ef SWDEV-476869 - Add mapping to cudaGetTextureReference
Change-Id: I85a6e4423d7b8b88ed18629225c583b87551414f


[ROCm/hipother commit: ccd569c4bb]
2024-08-02 12:14:16 +02:00
Jatin Chaudhary cabb17afdf SWDEV-466747 - Add alias of HIPRT macro in CUDA
Change-Id: I9bc6ba3b05c5e45d075446c53511e079f5d0fbcb


[ROCm/hipother commit: 0ba07a685e]
2024-07-12 04:53:23 -04:00
sdashmiz 0eaf547f0b SWDEV-458069 - Fix return of local variable
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I8964f988383f61e35363490b669a416341150979


[ROCm/hipother commit: 1287d7e4a6]
2024-07-03 09:50:42 -04:00
Anusha GodavarthySurya 39ee453f6e SWDEV-466037 - Add nvidia mapping for hip APIs
Change-Id: If8ef48715a13720454f61f693debe51bd15a4edc


[ROCm/hipother commit: 19390bc9ca]
2024-06-13 10:35:31 +00:00