Grafik Komit

5211 Melakukan

Penulis SHA1 Pesan Tanggal
kjayapra-amd f3af2709b4 SWDEV-274276 - Implement system scope atomics to _system builtins. Default atomics will map to agent.
Change-Id: I63b13063274418e96d4be0159c779127b166bea5
(cherry picked from commit 7c4ae8ca1daac0b75ac36c4e4a45b8d13f219d14)


[ROCm/hip commit: dfaf6140cf]
2021-04-09 10:23:32 -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
Julia Jiang 6c101e5ffb SWDEV-270961 - Update HIP FAQ.md
Change-Id: I34b03692edd9e6bc424a3ee615d21cb226aa86cf


[ROCm/hip commit: 865ecc64af]
2021-04-08 14:13:13 -04:00
Sarbojit Sarkar 225d149818 SWDEV-260454 - Fix for idenfying bad streams
Change-Id: I122ff6f47535c3c76ab56ba49ab1450ef886b15f


[ROCm/hip commit: 492ccc3281]
2021-04-07 12:13:30 -04:00
Sarbojit Sarkar 47c83726a4 SWDEV-280131 - Fix __half2 member access bug
Change-Id: Ic11750d18e4ba47446a7e494c3089a19cb4df783


[ROCm/hip commit: 83a25eb5b5]
2021-04-07 12:12:02 -04:00
Rupam Chetia c1f57da073 SWDEV-238517 - [dtest] Adding additional scenarios for block and grid dimension.
1. Corner case and negative test scenarios added for block and grid dimension.

Change-Id: I094faf02570fec101f688462712934b94ceb37e1


[ROCm/hip commit: b1d78e4096]
2021-04-07 01:44:39 -04:00
Rupam Chetia db7803ee5d SWDEV-238517 - [dtest] Adding new test cases for hipComplex functions.
1. Added 21 test scenarios to test the hipComplex functions on both host and device.
2. Modified the floating point comparisons with precision check.

Change-Id: I9edfb0c635ced255935087c85b77d3cc6a1a82e3


[ROCm/hip commit: 366f0462f2]
2021-04-06 07:54:29 -04:00
Julia Jiang ec9f4720bc SWDEV-270961 - update HIP documents
Change-Id: I5168d83a124e9c7d856fb7a46d9960d9f99143c6


[ROCm/hip commit: d8f123eed7]
2021-04-05 14:34:33 -04:00
Satyanvesh Dittakavi b2ac04fffd SWDEV-277264 - Support install.sh on CentOS
Change-Id: I2e83c53f68372c4de538cc67414440a933241814


[ROCm/hip commit: 166fd274f1]
2021-04-05 09:06:05 -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
Anusha GodavarthySurya 362629f2e8 SWDEV-278873 - hipStreamCreate handle invalid flag value
Change-Id: I05c0e0b76f7b09947e48d5b9f225af305bade27f


[ROCm/hip commit: 45ccc14d55]
2021-03-31 07:59:41 -04:00
Jatin Chaudhary 2c94fc9b42 SWDEV-279372 - HIP_CLANG_PATH should resolve from HIP_PATH if its defined
Change-Id: Iee909f1e2f3d6443b494846219ad955a1f0ebfe8


[ROCm/hip commit: 6e42b3f71c]
2021-03-31 00:31:45 -04:00
Sourabh Betigeri 4ee227146e SWDEV-274727 - Disabling tests temporarily
Change-Id: I695daebe15f592afdfee8e4efe4d8966b6e9922a


[ROCm/hip commit: 8f67e24cbd]
2021-03-30 13:02:19 -04:00
sumanthtg 14f4a3f027 SWDEV-278478 - hipDeviceGetPCIBusId-vs-lspci test enabled only for linux environment
Change-Id: Ia86174505d912a32b07e8e959adfba6391c3284d


[ROCm/hip commit: 1cf7c2c87b]
2021-03-30 09:28:28 -04:00
Jatin Chaudhary e533ae97b1 SWDEV-278810 - Remove default addition of CXX Flags if file type is not recognized
Change-Id: I2b29f246d138b511d77f8e78f273795b4977313f


[ROCm/hip commit: e2425ba34d]
2021-03-30 00:47:56 -04:00
Sarbojit Sarkar 04849fca63 SWDEV-277926 - Updated deprecated APIs in Cuda
Change-Id: I9ff655af227b245067eb760325c395bb562696ee


[ROCm/hip commit: d4f347747b]
2021-03-29 01:19:19 -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
Maneesh Gupta 8b45dcef22 SWDEV-187253 - Print warning if launch_params > bounds
Change-Id: I138546bf816887576e797105f97ce37245911045


[ROCm/hip commit: b2cb34f519]
2021-03-24 22:29:19 -07:00
sumanthtg 64f2af4dc9 SWDEV-278478 - Fix for hipDeviceGetPCIBusId-vs-lspci test failure
Change-Id: I7c722633ba8023f03bb64f5fb32b31f10015c327


[ROCm/hip commit: 6e201739b6]
2021-03-23 21:49:17 +05:30
Anusha GodavarthySurya feab085103 SWDEV-272025 - Replace pushd/popd with cd
Change-Id: I0464e4079e31ddbc4e2032d64600f1f2c31a2c1f


[ROCm/hip commit: bb4433be51]
2021-03-23 05:24:50 -04:00
Anusha GodavarthySurya 3d9004a7c7 SWDEV-269085 - Fix compilation error with clang
Change-Id: Iab5902c9a2702456fbe433fdefc40541c48acb71


[ROCm/hip commit: 7535ce6498]
2021-03-22 03:02:50 -07:00
Saleel Kudchadker 8028c6d430 SWDEV-277847 - Move event lock_ to the beginning
For addMarker, assume T1 comes in first and enqueues a command C1.
Before T1 grabs the event_::lock_ it gets preempted. At this time,
T2 comes in, enqueues C2 and grabs the lock_ and updates event_. Now T1
wakes up and updates a older command C1 for the event.

Change-Id: Ia423782b23026302c40976385623cfdede32d70b


[ROCm/hip commit: c8b9257c0b]
2021-03-19 15:28:08 -07:00
jujiang 59acce2b79 SWDEV-277423 - Correct hipStreamWaitValue doxygen format
Change-Id: I8914c14cb7a05d5d0bdfa054af14765c872c70a6


[ROCm/hip commit: d279bd99bb]
2021-03-19 14:10:41 -04:00
Tao Sang f962ea4cc1 SWDEV-273138 - Update canUseStreamWaitValue retrieving
Remove canUseStreamWaitValue from hipDeviceProp_t.
Update canUseStreamWaitValue retrieving in hipDeviceGetAttribute().

Change-Id: I275bd42d8b03e141caaf9f1bc6b714e51ca72dfb


[ROCm/hip commit: ca0cc36ef4]
2021-03-18 22:42:35 -04:00
Sourabh Betigeri 313856c6ea SWDEV-274727 - The callback associated with the event was being processed after the event is destroyed. Commit after resolving merge conflict.
Change-Id: Ia7383c83318ca0c2a4f21f7aaf22b1cebd828cf0


[ROCm/hip commit: 4223d3ecb4]
2021-03-18 15:08:58 -04:00
German Andryeyev 4fa378a5de SWDEV-277543 - fix destruction of the stream object
Change-Id: If2f532e66099805a7f05181e63f5454893a1a288


[ROCm/hip commit: 7600326eb2]
2021-03-18 13:24:46 -04:00
cjatin 3ecbc923db SWDEV-272811 - Using OCML functions for conversion of fp to int
Change-Id: Id0c02bf6a2e0553d522035b078a9db4cd3fad215


[ROCm/hip commit: 2afa40873a]
2021-03-18 11:43:30 -04:00
Ravi C Akkenapally 276d9ce2cb SWDEV-276827 - Stream Operations: match API with CUDA
Change-Id: Ia79a950561e97df3b2229f76f5512dede2babf98


[ROCm/hip commit: 475d928be8]
2021-03-18 07:52:29 -07: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
Tao Sang 15519dd555 SWDEV-273943 - Enable runtimeApi.event dtest
Add device_id_ in hip::event to match cuda behaviour in
hipEventQuery() and hipEventRecord().
Enable hipEventElapsedTime test on AMD platform.
Workarround sporadic crash of hipEventIpc test due to
some bug of event ipc.
Add missing hipEventDestroy() in some event tests.
Fix some logic code errors.
Fix typo in comment.

Change-Id: I9ec74c475161b3e31df48d193449023e921f2924


[ROCm/hip commit: 38b0c952a6]
2021-03-16 17:12:08 -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
jujiang 77d1508b7d SWDEV-271283, SWDEV-274749 - Fix hipLaunchParmFUnctor test failure
Change-Id: I568eba45403feae6f50eceab4a6bcc76756fd5bd


[ROCm/hip commit: e733edb3fd]
2021-03-15 14:42:41 -04:00
Payam d372df5d34 SWDEV-182753 - Throw error if launch params>bounds
Change-Id: I5f9931efac37e3149894ca116a1b0c2dcc3e5bc5


[ROCm/hip commit: f17adc439c]
2021-03-12 19:17:08 -05:00
Saleel Kudchadker b511383959 SWDEV-271010 - Add 512KB transfer size for test
Add a new transfer to hipPerfBufferCopySpeed test

Change-Id: Ia7ec9a89e8789bf16fd5f86b08521287049c1e77


[ROCm/hip commit: d6f331697d]
2021-03-11 11:01:54 -08:00
kjayapra-amd b8e5485f00 SWDEV-276169 - Multiprocess IPC tests for Events and Memory.
Change-Id: I4a7af60e732de234a535574aa8597a7abd0b899b


[ROCm/hip commit: 0bed2779aa]
2021-03-11 11:16:23 -05:00
Lakhan singh Thakur 640c7cede8 SWDEV-238517 - Enhancing hip unit tests
[dtest] Additional tests for Memcpy

APIs tested:
      hipMemcpy, hipMemcpyAsync,
      hipMemcpyHtoD, hipMemcpyHtoDAsync,
      hipMemcpyDtoH, hipMemcpyDtoHAsync,
      hipMemcpyDtoD, hipMemcpyDtoDAsync

1: The aim of this test case is to cover all
   the negative test cases for 8 hipMemcpy apis
2: This test launches NUM_THREADS threads.
   Each thread in turn tests the working of
   8 hipmemcpy apis
3: This test case verifies the working of
   Memcpy apis for range of memory sizes from
   smallest one unit transfer to 1GB.

Change-Id: If5c99527a78e817bafab2e1bd9b686a9ff916184


[ROCm/hip commit: da723c8807]
2021-03-10 10:14:36 -05:00
jujiang f9b7d37bea SWDEV-270961 - Add doxygen for Texture APIs
Change-Id: I4038320a638292440d9ca8c23ffcabffcd9a48c2


[ROCm/hip commit: 3498f3600a]
2021-03-09 16:23:56 -05:00
Rahul Garg cf21e82687 SWDEV-270599 - hipExtLaunchKernelGGL Event Timing Incorrect Between Two Launches
Change-Id: I599a51720f297209072c6be8fffe2aa61e1a071e


[ROCm/hip commit: f265af744c]
2021-03-09 12:18:39 -05: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
Vladislav Sytchenko 76cd47815a SWDEV-232428 - Fix HIP printf tests on Windows
On Windows there's something fundamentally broken about redirecting IO
into a file and then restoring that said IO to it's original state. Even
though no syscalls would fail, the output would sometimes either go into
CLI or straight up nowhere.

Simply using pipes instead of a temporary file magically resolves the
above issue ¯\_(ツ)_/¯

Unfortunately the max pipe size on Linux is 1Mb, which is not enough to
store all the data printed by the kernel. This leads to a softhang in
vprintf().

Stick to using a temporary file on Linux, but switch to pipes on
Windows. Slightly refactor the CaptureStream struct to accomadate this
difference.

Change-Id: Id8e68f150df47815a4f652ee2bcd6cfb7c3e3bac


[ROCm/hip commit: 223dddae6d]
2021-03-08 18:12:42 -05:00
Vladislav Sytchenko 8efcca49c9 SWDEV-232428 - Fix hipPrintSpecifiers test failure on Windows
The following snippets has different behaviour based on platform.

printf("%p", 0x123abc);
Linux   -> 0x123abc
Windows -> 123ABC

printf("%p", nullptr);
Linux   -> (nil)
Windows -> 0000000000000000

%p specifier according to C spec is implementation defined, so we need
to adjust the reference string to be correct on Windows.

Change-Id: I7059fa0f6cde611718bd76655637670fcbccf43c


[ROCm/hip commit: 1c08fb58d0]
2021-03-08 18:11:33 -05:00
German Andryeyev b3f3af2b1b SWDEV-272496 - enqueue a marker for callbacks always
The current implementation in ROCclr for callback is
based on OCL specification. If in HIP the same command
could get multiple callbacks, then ROCclr will process them in
a reverse order. Unique Markers for each callback will make
sure it won't happen.
Add a dependency wait for callbacks, since HSA signal callback
doesn't guarantee the order.

Change-Id: I9d514734e258312fe9a74d48132361eb17c52d67


[ROCm/hip commit: 84f8785288]
2021-03-08 14:19:53 -05:00
Satyanvesh Dittakavi 8b8e7636cd SWDEV-274404 - Add hipDrvMemcpy3D* and hipMemcpy2DFromArray* APIs on HIP CUDA
Change-Id: I4aba2bff60a7bae6b01b6e471968227b0df8e192


[ROCm/hip commit: fba442fe36]
2021-03-08 13:14:25 -05:00
Sarbojit Sarkar 5e7f8c9ec3 SWDEV-254329 - Profiler ON/OFF fix
Change-Id: I996d185d2079ce68234109564a529a187ba4f04b


[ROCm/hip commit: 0b3b9810c4]
2021-03-08 01:27:46 -05:00
Julia Jiang afe16f6b0a SWDEV-270961 - Update HIP documents
Change-Id: Iba88d78456b9b190c2af92ca696777e459e4acb0


[ROCm/hip commit: 066fa459bb]
2021-03-05 16:07:38 -05:00
David Salinas a13ca05639 SWDEV-274114 - fix dependency issues for perl modules
Change-Id: I320d5fb50db3eecd433e81ab49703ca04c882711


[ROCm/hip commit: 444d14e654]
2021-03-04 16:52:35 -05:00
Tao Sang 88c7cc3efa SWDEV-274725 - Enable hiprtc test
Enable hiprtc test for Rocclr.
Remove unnecessary LINK_OPTIONS hiprtc.

Change-Id: I9ec74c475161b3e31df47d193449023e921f2923


[ROCm/hip commit: d5b0974edd]
2021-03-04 15:07:38 -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