コミットグラフ

72 コミット

作成者 SHA1 メッセージ 日付
Satyanvesh Dittakavi 802fee3078 SWDEV-285521 - SWDEV-284626 - Fix P2P and Caffe2 test failures
- waitList was released before the awaitcompletion
causing stream sync after the async copies fail

- Enable the hipPeerToPeer_simple test

Change-Id: I1eeaa7e6320ab38c106902078f034dfec4c3f3ea


[ROCm/hip commit: acafb344c0]
2021-05-21 02:54:22 -04:00
kjayapra-amd a1bba9ca4c SWDEV-286346 - Implement Arena Memory Object for externally created memory.
Change-Id: I1aae0d24b28eebaf7f67e941aaa475a53831e9b8


[ROCm/hip commit: 871c167fd0]
2021-05-18 10:24:40 -04:00
pghafari 8de2b45056 SWDEV-245532 - HIP - Vulkan interop semaphores
Change-Id: I89be5ee84d4728d76e1987d5016c944c0dbc9a96


[ROCm/hip commit: 86a5e82a4b]
2021-05-11 11:44:59 -04:00
Anusha Godavarthy Surya a76f840701 SWDEV-240806 - Initial commit for hipGraph and stream capture infrastructure
On StreamBegincapture captures the parameters passed to APIs and respective node will be created and added to graph
All parameters are passed to STREAM_CAPTURE macro, it checks if stream in capture mode and redirects the call to the capture function and returns
Updated hipStream and hipEvent with capture parameters
Added handling for hipStreamBeginCapture & hipStreamEndCapture

Change-Id: Ic8926a7b4336c2cc81f0b3a9a224aa392c474134


[ROCm/hip commit: c35ba37287]
2021-05-07 17:38:16 -04:00
kjayapra-amd 06e4e7ee8f SWDEV-245533 - Implementing Mipmap array APIs
Change-Id: I222c8d0fcbd50cdefd702462e689463bb36366d2


[ROCm/hip commit: 9c07201c6b]
2021-04-30 16:33:43 -04:00
agodavar 2ec091086a SWDEV-283897 - SWDEV-283901 - Fix directed and performance test failure
Change-Id: Ia0e9ab5d172802403af7bf6568f985b82e799baf


[ROCm/hip commit: ace2cf2840]
2021-04-30 17:56:44 +00:00
Satyanvesh Dittakavi 594462055c SWDEV-283213 - Fix hipMemset2D, 3D failures in Debug mode
If the width is 0, hipMemset2D or 3D APIs should return success
doing nothing
Change-Id: I97f8825d090a73ee63145e52d2b6d2cc0eddade3

Change-Id: I9d62fee70929ad0c79b947aa4cbbc8ab898fb64a


[ROCm/hip commit: 2122a32034]
2021-04-28 18:53:53 -04:00
Anusha GodavarthySurya d843a89be7 SWDEV-240806 - [hip-graph] hip_memory and hip_kernel separate command creation from enqueue
hipMemcpy1D all variants, hipMemcpy3D, hipMemset, hipMemset3D and hipLaunchKernel

Change-Id: Ieeb767cf87aa0546bc3b3d5d2e01ab618e0d285c


[ROCm/hip commit: d86b4696ca]
2021-04-20 11:04:42 -04:00
Satyanvesh Dittakavi d7ce1b93ea SWDEV-279486 - Fix hipMemcpyPeer/hipMemcpy APIs
Addresses the scenarios when the size passed is more than
the allocated size and when the deviceid is invalid
Change-Id: I6c9b62639096f655ffb61976905b1ce8c5f51ee7

Change-Id: I8a0d660924a8e2300c517aba6f9088626b8f6ef5


[ROCm/hip commit: 68161ff0dd]
2021-04-09 02:53:15 -04:00
Sarbojit Sarkar 198260cdc4 SWDEV-276319 - Added null checks
Change-Id: Ib22a333f0f599c8f0efca34f2a287bc4b118d743


[ROCm/hip commit: 3d7ecb6fea]
2021-04-01 05:11:16 -04:00
Sarbojit Sarkar 36074a5c90 SWDEV-254441 - Fixed review comments
Change-Id: Ica13f23638be04216d152821127b2b7316f96af0


[ROCm/hip commit: c6aac041e1]
2021-04-01 00:21:19 -04:00
pghafari 5242decbc0 SWDEV-245532 - HIP - Vulkan interop
Change-Id: Iba1ef8112e318b4f099da5a4a4602e0dae7de9e3


[ROCm/hip commit: a1b321bba4]
2021-03-31 10:23:31 -04:00
Satyanvesh Dittakavi 70445b1f7e SWDEV-277152 - Add hipMemcpy2DToArrayAsync API in headers
Also, address few scenarios for hipMemcpy2DToArray/Async to return
proper error types

Change-Id: Idbadf666a5e7bebc0f3ea8b7048b79208e04cf6b


[ROCm/hip commit: 39f4d0d244]
2021-03-27 13:50:38 -04:00
Sarbojit Sarkar cef699ca8b SWDEV-276319 - Fix for -ve cases
Change-Id: Ie6157e3cdbd1f959c8ea502b48286bdf102b8a0f


[ROCm/hip commit: 4ba39503bf]
2021-03-18 00:21:43 -04:00
Vladislav Sytchenko bde082af6e SWDEV-275317 - Correctly pass HIP image width to ROCclr APIs in AtoD/DtoA copies
HIP assumes that image width is in bytes, but OCL/ROCclr assumes that
it's in pixels. AtoD/DtoA need to account for this.

Change-Id: I275bd41d8b03e141caaf951bc6b714e51ca72dfc


[ROCm/hip commit: e967adbdaf]
2021-03-15 21:09:58 -04:00
Satyanvesh Dittakavi d988defe00 SWDEV-275317 - Fix hipMemcpy2DFromArray to return proper error types
Change-Id: Id722865d81460bfd2fa6ad7a198b6e3c2a08265a


[ROCm/hip commit: 0303084b0e]
2021-03-09 05:22:23 -05:00
Arya.Rafii 335decd182 SWDEV-269246 - Implementation of hipDrvMemcpy2DUnaligned
Change-Id: I86fdd3b930cbd74c45cd31944f0ea52c0ff65a59


[ROCm/hip commit: 24837c1afc]
2021-03-04 14:38:06 -05:00
kjayapra-amd d78cd74c98 SWDEV-259566 - Adding support to retrieve handle for offsetted pointer.
Change-Id: I5da5ab6a24c6df915950637feb486b8c288e60e0


[ROCm/hip commit: b4492a3de3]
2021-03-04 12:28:56 -05:00
Ravi C Akkenapally 3d9b4cc2c2 SWDEV-179105 - Stream Operations: Add swqupport for Wait and Write
Change-Id: I9d6d0665d12b62fe705ce1569a0e8264a4f23ab7


[ROCm/hip commit: e89b228eac]
2021-03-02 12:15:46 -08:00
Jatin Chaudhary 1b8f29fe75 SWDEV-272361 - Dont call memcpy2d if width is 0 or height or depth is 0
Change-Id: I22324a536d2a5e68b9fc3e5ee4ad821b49021a17


[ROCm/hip commit: 6288e68175]
2021-03-01 14:34:58 -05:00
cjatin 201d7951de SWDEV-271274 - Changing DevLogPrintf to LogPrintf for cases where error condition is being returned
Change-Id: I153d071f7859e9412ea0c69f53c53d190453d73d


[ROCm/hip commit: 23f33d5f20]
2021-03-01 14:33:46 -05:00
Ashutosh Mishra d5110c4be8 SWDEV-271126 - Memory obtained from getDeviceMEmory can be NULL
which can cause segmentation faults. Hence checking for its sanity

Signed-off-by: Ashutosh Mishra <ashutosh.mishra@amd.com>
Change-Id: I78b4d029f0926a1369a8ebbeb4aef951a8f1f1d7


[ROCm/hip commit: abff21c4fc]
2021-02-26 23:29:53 -05:00
agodavar ac394a834b SWDEV-271096 - Handle depth zero in hipMalloc3D
Change-Id: I0ef0cc825e20b3480e9e5476e09dde5f73cdd3ea


[ROCm/hip commit: c149c88fa1]
2021-02-09 08:39:44 -05:00
Satyanvesh Dittakavi 5461aac249 SWDEV-263678 - fix rocHPCG mgpu perf drop
Change-Id: I33269fe4f6165d1ed172b19033ab9fcb92f338c3


[ROCm/hip commit: 57dfaab032]
2021-01-05 00:22:12 -05:00
Sarbojit Sarkar c97cd36663 Revert "Fix hipmemset to match CUDA behavior"
This reverts commit f57da595ff.

Change-Id: I53052b25bac4956f3efd124eadc936197f2e466a


[ROCm/hip commit: 36a6baf829]
2021-01-01 00:11:58 -05:00
agodavar 60998172fb hipmemcpy2D handle height 0
Change-Id: I46bf89e81559c3bfccac0dd0ccd78eee9058c7e3


[ROCm/hip commit: d21cabd890]
2020-12-31 01:41:56 -05:00
agodavar 5ae2e9926d SWDEV-263180 : Fix null ptr dereference
Change-Id: Iefc9fa3f195af45a5c5ebe075056246c930a6d84


[ROCm/hip commit: c1dedbd3a0]
2020-12-19 02:02:54 -05:00
Rahul Garg f57da595ff Fix hipmemset to match CUDA behavior
Make hipMemset asynchronous with respect to the host unless
destination pointer refers to pinned host memory.

Change-Id: I5ba230e0cc622aa076dc94692a4c43a57dd2df7b


[ROCm/hip commit: 08f827b28b]
2020-12-17 19:13:31 +00:00
Satyanvesh Dittakavi cc8d3a3188 SWDEV-258754 Fix seg fault hipMemset with device pointer mapped from hipHostRegister
Change-Id: Ifab66b67df172812ebb6eb25c2bac71821f4d614


[ROCm/hip commit: 5b10098da9]
2020-12-15 07:44:34 -05:00
Satyanvesh Dittakavi 390615cc60 Fix hipPointerGetAttributes
Modified hipPointerGetAttributes to support hipHostRegister ptrs and mapped device ptrs from hipHostRegister
Change-Id: I2f4cf12e09578768308f644123d6d4bdccbd77a8


[ROCm/hip commit: a7b5347c90]
2020-12-15 01:40:24 -05:00
Sarbojit Sarkar 4ff1982a97 Updated review comment
Change-Id: Ic7f9f33dd23c975f2a7a0f0d485a3d2a457c62bb


[ROCm/hip commit: 7c3b1cca22]
2020-12-13 11:30:28 -05:00
agodavar 3cef4c8a97 SWDEV-256810 : hipMemcpy2D API handle width, src/dst pitch 0
Change-Id: I4f60b220624f4235c0c3daf68adcd5a496e93696


[ROCm/hip commit: 77e5c4110e]
2020-12-03 10:34:12 -05:00
Sarbojit Sarkar 4f0fe005b3 SWDEV-258579: hipMemcpy2D better error handling
Change-Id: I09378d6e31da99451e22cbe9276a5ff1ad4a1840


[ROCm/hip commit: 4c1f86699d]
2020-12-03 05:50:42 -05:00
Satyanvesh Dittakavi 3d6c24b7fa SWDEV-255614: Fix Caffe2 Test Failure
Change-Id: I043caa89b2a43dace7f18c739f30d2a7bfa644ca
Fixes the issue when memcpy DtoH is performed on device 0 where the device buffer 
is allocated on device1 and the destination pinned buffer is allocated from device 0.


[ROCm/hip commit: ee32c0407a]
2020-11-20 10:24:50 -05:00
Rahul Garg 49b83492bd Fix async flag in hipMemset3DAsync
Change-Id: I3dc717c14bdd1d46873e03c687bdf57f9202663e


[ROCm/hip commit: 0096a215b4]
2020-11-18 20:32:18 -05:00
Sarbojit Sarkar 4824fca235 SWDEV-256325 : Fix for hipMemset2D crash
Change-Id: I1f434602fecd4fb935d2bc72f2c72d6a2d4c45fe


[ROCm/hip commit: 0af33580e6]
2020-10-20 02:54:29 -04:00
German Andryeyev 9c2eea15fb Report managed memory capabilities
Change-Id: I241a42e26ee49fb47dcb3ba87c4bd8fb691dffdf


[ROCm/hip commit: d9f655f50e]
2020-10-13 16:09:43 -04:00
Aryan Salmanpour 9ec79d899a Fix a seg fault when unallocated mem handle passed to hipIpcOpenMemHandle API
also validate the flag argument passed to hipIpcOpenMemHandle API and return
error if it is not equal to "hipIpcMemLazyEnablePeerAccess" (defined to 0)
and it is the only supported flag currenlty for this API.

SWDEV-253462

Change-Id: Ie1c8b79c680a29dc72bf262cf53ae5e011fb1247


[ROCm/hip commit: c6904623aa]
2020-10-13 11:14:41 -04:00
Vladislav Sytchenko e4caaa2a77 Revert "Revert "Merge branch 'amd-master-next' into amd-npi-next""
This reverts commit 28b17d3dbd.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I92ceb171e31026ed1864704cef2fc1497b883ef9


[ROCm/hip commit: ad2d55c144]
2020-10-05 13:20:58 -04:00
Vladislav Sytchenko 28b17d3dbd Revert "Merge branch 'amd-master-next' into amd-npi-next"
This reverts commit 258d79bca7.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I53322718dadde2c98f96140b8e260ec7ee9ef721


[ROCm/hip commit: 374ead1d19]
2020-10-05 13:02:39 -04:00
Julia Jiang 50910964ea SWDEV-247518-fix HPC multi gpu test performance drop
Change-Id: I2f07d9ba183cf88b3845d8d61607a8a0462d015f


[ROCm/hip commit: 9f1a177dc7]
2020-09-29 12:04:40 -04:00
Aryan Salmanpour f28066dd40 fix a pagefault when wrong argument (extent) passed in hipMemset3D API
Change-Id: I779fc14ccd7c942d1ae0a938ebfd3c2e728ff761


[ROCm/hip commit: e46dc7b96d]
2020-09-25 10:57:37 -04:00
Rahul Garg 4bb97d3f6a Return hipMemoryTypeHost as memory type for hipHostRegistered pointer
Fixes SWDEV-253741
Change-Id: I42c2c9df00862157314d5767b6f175a0d2f28b47


[ROCm/hip commit: a3e5e6360f]
2020-09-24 12:27:32 -04:00
Satyanvesh Dittakavi 89524aad2c Print size_t variables with %zu
Change-Id: I02bb073b07e9efd03dea2b76b6ba1bd2f552bcaa
Total Memory is not being printed correctly with %u.
%zu represents size_t variables appropriately.


[ROCm/hip commit: cede497cb2]
2020-09-18 11:55:41 -04:00
Sarbojit Sarkar 00632b266c Fix for hipPointerGetAttributes [github#2137]
Change-Id: I5295575638ecc4d3b7129552a9c26c6f6a7195fc


[ROCm/hip commit: 5c7b7d1dd2]
2020-09-10 10:51:30 -04:00
Rahul Garg ad72b42e36 Return error when mismatch in copy kind and ptrs
Change-Id: I70e4d06e850843697035b42c5d1d56287c874ac8


[ROCm/hip commit: 519ef3f22e]
2020-08-27 20:53:48 -04:00
Payam f6b905e1e2 adding duration to print log for hip api calls
Change-Id: Icffa8fcacfb8ba24861d980b9553faeee4efec8c


[ROCm/hip commit: 39d681b6be]
2020-08-06 06:42:21 -04:00
Sarbojit Sarkar 1aabc901a7 Added free device memory info
Recently there were few OOM(out of Memory) issues poped. Adding trace will help know genuine OOM issue. 
Change-Id: Ie2a56bba95cead24caf1af5c807e73c383c2f5d9


[ROCm/hip commit: d768406ec4]
2020-08-06 01:16:36 -04:00
Jason Tang 7bd577696b SWDEV-243576 - Fix hipMemcpy regression.
If the queue device doesn't match the device on any memory object, use the queue device from the memory object.

Change-Id: I5fdcf00494f8391574f4443332c01788b8da44ef


[ROCm/hip commit: 678b3eeed5]
2020-07-28 03:04:00 -04:00
jujiang 0d993a5cfc SWDEV-242344-hipMemcpyAll failed on MGPU
Change-Id: I01671e322c84213964d3d48bd6b5dc704dba731a


[ROCm/hip commit: 448008348e]
2020-07-27 13:30:30 -04:00