Ioannis Assiouras
9b78869e64
SWDEV-404865 - Remove unused macro definitions from hip-lang-config.cmake
...
Change-Id: I726884d81b9cd83355f0f26306dca04256b82a4a
2023-07-28 12:27:53 -04:00
sdashmiz
c7d8557eee
SWDEV-389530 - [ABI Break]Match error with cuda
...
- match error for invalid params
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: I2faf1191f665d8bd06d6ba315f440e87b1a5b8ab
2023-07-26 20:32:41 -04:00
kjayapra-amd
3a2615f5aa
SWDEV-408889 - Add the logging message back that will print devices without COs from Bundle.
...
Change-Id: Ie6f95d5e9bafe6c3db192419e4d8829053cc8b65
2023-07-26 17:47:52 -04:00
Anusha GodavarthySurya
fd97dde1e6
SWDEV-407568 - Move graph implementation to hip namespace
...
Change-Id: I7023f202a7e3eb25b17db6d3e361205594ae81a5
2023-07-26 06:52:45 +00:00
Jatin Chaudhary
f136a576f5
SWDEV-264166 - [ABI Break] goodbye gcnArch, hello gcnArchName
...
Change-Id: I4b31284243a801f92f0be9468c25db7d027d9a13
2023-07-25 02:51:29 -04:00
Jatin Chaudhary
b67d055eb6
SWDEV-412457 - remove unused header, add correct header for cpp
...
Change-Id: I2192daec7c033e94097c26db6177e14558a8728d
2023-07-21 11:30:59 -04:00
Ioannis Assiouras
cb7776ef07
SWDEV-412496 - treat USE_PROF_API to always be true
...
Change-Id: I77cfac409215a33d11228a0f2da9ffba63c3d73a
2023-07-21 04:42:57 -04:00
Jaydeep Patel
a9ff2c5a43
SWDEV-410751 - Consider null amd::memory is invalid.
...
Change-Id: I6f175f69e922cf5d7f8128c15754e1310419ccd9
2023-07-18 00:12:15 -04:00
Anusha GodavarthySurya
b0e6f99ad7
SWDEV-392732 - Initial commit for graph doorbell optimization(AQL Buffering)
...
Change-Id: I451725006c54c249dc530c55d2af2a31594bf49b
2023-07-16 07:56:00 -04:00
Ioannis Assiouras
238b973a5a
SWDEV-411086 - Provide path ROCM_PATH/llvm via the HINT argument instead of PATH in calls to find_package
...
PATHS have lower priority than system paths so if there is a clang installation in /usr/local find_package(Clang)
will pick that instead. To fix this provide the llvm path via the HINTS argument instead.
Change-Id: I57794a9a5c5fc26f12c60798fbc8e826c1880e13
2023-07-14 04:46:44 -04:00
sdashmiz
173de06658
SWDEV-408586 - set device active when malloc is called
...
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: Ib930d997b7d544d8b6fb42d2fea01fa8a4418e98
2023-07-13 11:39:58 -04:00
Ioannis Assiouras
791cea44f1
SWDEV-407818 - Fixed bug when opening LinkerFile fstream on windows
...
Change-Id: If6f083d9fa83066eb2b20ab24dceaa9df7a2f0a0
2023-07-07 13:25:04 -04:00
taosang2
56daa6c489
SWDEV-408687 - Prevent updating dstXInBytes/srcXInBytes twice
...
Update pCopy->srcMemoryType and pCopy->dstMemoryType so
that ihipGetMemcpyParam3DCommand() won't redetect memory
type. This will prevent dstXInBytes and srcXInBytes getting
updated twice with offset in hipMemoryTypeUnified type.
Change-Id: Ief4ea81941e25d22bcafd213b3b84a65eb23cf94
2023-07-05 09:22:49 -04:00
Jaydeep Patel
a8164d3e12
SWDEV-401781 - Auto Clean removes from map so check before remove while submit mem alloc node command.
...
Change-Id: Id004f75b307c2c769dee556c3d18e781830bcae1
2023-06-29 02:29:01 -04:00
kjayapra-amd
aa7c62db37
SWDEV-407691 - Always unmap file if HIP Runtime unbundler is used.
...
Change-Id: Ica15df31dfee3c495cf067a998e7e3b7c7397f40
2023-06-28 10:20:49 -04:00
sdashmiz
5f93a59798
SWDEV-403382 - param sanity check
...
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: Ibddb2be7d0543676ed9aed71ebb3f5877662c9ae
2023-06-27 19:03:34 -04:00
sdashmiz
41bbdfca94
SWDEV-405485 - fix the error to match cuda
...
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: Ia03a50e437c8eb189bc6578170b5ef20b470541c
2023-06-27 15:01:14 -04:00
ajay
09345dc7a2
SWDEV-407292 - hip-lang for windows
...
Change-Id: Id64bbfc8d62796b4f158e53f48273a09c928c8cc
2023-06-27 14:18:58 -04:00
Julia Jiang
a4cccd3b0e
SWDEV-390597 - NoGpuTst test of Catch2 fails with docker
...
Change-Id: Ibf65e0ec57d47357e0afd119200622e223850b1e
2023-06-26 10:21:57 -04:00
sdashmiz
2cdaf7e80f
SWDEV-405485 - move the param validation
...
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: Ic3a27c47a88954da866a91494bcfb8721f33ad2b
2023-06-22 23:33:48 -04:00
taosang2
f03c11491b
SWDEV-368553 – Add missing mipmap Apis
...
Add missing mipmap Apis’ implementation.
Fix some bugs of mimpmap apis.
Use hipmipmappedArray to differentiate cuda
and driver apis on Nvidia.
Change-Id: I6079d9f3b2ddf4e42b9a6f7f3902322cfca02cfd
2023-06-22 17:24:21 -04:00
pghafari
9e08ecdd16
SWDEV-406821 - use int32 for grid y,z till rocm 6
...
Change-Id: If9eee4dd5553cc81e283cb2211cc69884808d5c1
2023-06-22 09:42:00 -04:00
Ioannis Assiouras
0af9788e32
SWDEV-406894 - Fix segfault when access HIPRTC_JIT_LOG_VERBOSE from options buffer
...
Change-Id: I24143dfb726d9a71fdb17b03d5b5dd910b54f5bb
2023-06-22 00:53:29 -04:00
Saleel Kudchadker
b2240bcda5
SWDEV-301667 - Better log
...
Change-Id: I3b5b3593cb0144e56a4ddea2fa29028544a73203
2023-06-20 14:26:44 -04:00
Jaydeep Patel
a6e72de83d
SWDEV-403768 - Check mem type is managed and result mem addresses are not null.
...
Change-Id: Ib40c468a981e0dd42b2da65aeb7543b11af4bc90
2023-06-16 08:49:21 -04:00
Jaydeep Patel
0a20da39cd
SWDEV-403770 - Add validations.
...
Change-Id: If36202ba9777d2a0d6f8ee92982dbff92bafe81a
2023-06-16 02:37:25 -04:00
sdashmiz
38a67df312
SWDEV-403638 - Fix warnings
...
- disable deprecated function use warning
- disalbe size_t to .type' warning
- disable conversion from 'type1' to 'type2' warning
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: I64161fd37cf56de3d132102103267ae8da40193a
2023-06-15 12:17:22 -04:00
sdashmiz
cc85289739
SWDEV-403063 - Clean up hip graph
...
- Replace dynamic allocation with embedded struct in hip graph
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: Idfe3f7393fa50d6e510d4c88f779408f96d3accb
2023-06-15 12:17:09 -04:00
German
1a0c3e4dc4
SWDEV-311270 - Add IPC support for memory pools
...
Initial implementation for hipMemPoolExportToShareableHandle,
hipMemPoolImportFromShareableHandle,
hipMemPoolExportPointer and hipMemPoolImportPointer
Change-Id: I0ebdc48e9163b394ded560adca6c38bbc5aee7d1
2023-06-15 11:36:52 -04:00
Maneesh Gupta
68238c99d2
SWDEV-397358 - Revert "Return hipErrorNotSupported for unsupported APIs"
...
This reverts commit c6647487e0 .
Change-Id: Idb18e1ce6bcfc1da144fabf1ba01329f4f6604a5
(cherry picked from commit 8d1b76f4c6dc44bd05f6b6117d5354c54bee5c0b)
2023-06-05 04:55:33 -04:00
Jaydeep Patel
0064fac887
SWDEV-403762 - Fill pciBusId even if len <=12.
...
Change-Id: Iaf1b3314f4ae5597d42d54eb4c977667ecbb9cfb
2023-06-02 10:47:21 +00:00
Anusha GodavarthySurya
2f83719d12
SWDEV-399098 - Change hip_init lock to use std::call_once
...
Updating hip_init lock to use std::call_once fixed Performance
drops in TF benchmarks for FP16
Change-Id: Ib1125ac66806b232057ba183e296ea4d0642d08d
2023-06-01 02:04:29 -04:00
Jacob Lambert
1171518b97
SWDEV-380857 - Remove space in "Linker Program" used to set Comgr object name
...
Not a required change, but it does make dealing with temporary files generated
by Comgr easier.
Change-Id: I9c43138dd2a6c4fea965b57fbce7a087ab2bbd28
2023-05-30 13:47:26 -04:00
sdashmiz
1e9dfdfe99
SWDEV-360031 - Event record clean up
...
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: Ic7b5edd501c5f61b2bce87252ac040cbc4083006
2023-05-29 11:42:16 -04:00
Jacob Lambert
283dd8352d
SWDEV-371628 - Remove now-redundant Comgr devlib call from hipRTC
...
Because hipRTC is now using the newer
AMD_COMGR_COMPILE_SOURCE_WITH_DEVICE_LIBS_TO_BC, and now that this
action has been fixed for HIP compilations in Comgr, hipRTC no
longer needs separate Comgr call to link in the device libs.
Change-Id: Ibf9024cbaaab825584566e8d0b5fce60d7063dd8
2023-05-23 18:34:59 -04:00
Jaydeep Patel
b07a44c253
SWDEV-401231 - getMemoryObject returns nullptr for host system memory as arena is disabled for XNACK.
...
Change-Id: I84348e0ba2debf69f65c0e85179dad7827d30806
2023-05-23 09:51:08 -04:00
Ioannis Assiouras
9d06e8c2d3
SWDEV-401495 - Removed hip_hcc.def.in
...
Change-Id: Ia84503f0b9582f32de819f4ff95630fb024cd613
2023-05-19 11:47:07 +01:00
sdashmiz
8578da8a3d
SWDEV-367877 - Detect cycle in graph
...
- detect cycle when graph is instantiated
- remove level calculation from add/remove node
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: I3f7432f91f70aec8e4fd866b2766256f8a9a0cfe
graph-cycle-corrections
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: I8a3cec9a5a503aac6ea1e85ff3dd2b972790fb1d
2023-05-18 09:44:39 -04:00
Jaydeep Patel
97dc73f581
SWDEV-389199 - Add GL Memory object to memory map so that it is acknowledged by getMemoryObject.
...
Change-Id: Ia58bc30ba8be016c1f004f6af01dd767f45f7905
2023-05-18 01:10:33 -04:00
pghafari
fb82b292c2
SWDEV-399734, SWDEV-399733 - update maxGridDim for y and z
...
Change-Id: Id5b1dd2491798dd20a0672362f445ab4de164f6d
2023-05-17 19:03:04 -04:00
Satyanvesh Dittakavi
c98fad1edc
SWDEV-399851 - Add template overload for ToString in HIPRTC
...
HIPRTC_INIT_API can have nullptr in the arguments and ClPrint
can crash while printing
Change-Id: Iecade5c3867196509c8cc0647b9aa24be0960a02
2023-05-16 14:21:19 +00:00
Jatin Chaudhary
8753db5446
SWDEV-384013 - Print link options being passed to compiler with AMD_LOG_LEVEL
...
Change-Id: I556ed434587cff07a634796da51dcbb9ae78ef21
2023-05-15 15:52:04 -04:00
Jaydeep Patel
ffa1deef27
SWDEV-398047 - Disable arena for XNACK.
...
Change-Id: If6c98490bd5b8146a357f45ed132f687def0877f
2023-05-10 23:28:05 -04:00
Jacob Lambert
b17056cb93
SWDEV-380857 - Fix bug when reading bitcode file into vector<char> buffer
...
The previous implementation using std::copy() resulted in
differences between the in-memory and on-disk representations.
With the updated implementation, we get the same contents.
Change-Id: Iadfae3cd7f7ba99538da2ac4f11f30f5a78260d8
2023-05-08 16:25:01 -04:00
German
04b696abee
SWDEV-353281 - VM support in mempool for graphs
...
The change enables VM support in graphs on Windows. That allows
to avoid caching of all allocations at the cost of map/unmap
overhead during memory create/destroy.
Change-Id: I792be00fba099e5e5d3cd44a963e1dfd6976a86d
2023-05-05 15:31:26 -04:00
kjayapra-amd
f14e8a2dba
SWDEV-393910 - Port gfx94x changes to mainline.
...
Change-Id: Ibf727223bbe5230b132b47c39e0fc1d87cbd3b9c
2023-05-05 15:16:23 -04:00
Ioannis Assiouras
d88f0358b0
SWDEV-397356: Move HIP_API_PRINT after HIP_INIT so that the begin function call gets printed
...
Change-Id: I99b655596741c19bc483647794ae8b4f6e6f2843
2023-05-04 18:46:21 -04:00
Ioannis Assiouras
29e0d2f335
SWDEV-398511 - Removed hiprtc_internal.hpp
...
Change-Id: Ic0751dfeb4936b3e233b44e34d16e0a1605874d7
2023-05-04 16:50:18 +01: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
pghafari
31b362bf6e
SWDEV-369567 - dimension check update
...
Change-Id: I31deb5070d4852db7dd6d37f9a514965f387698e
2023-05-02 08:04:04 -04:00