Graf Tiomantas

5871 Tiomáintí

Údar SHA1 Teachtaireacht Dáta
Sarbojit Sarkar 5fb266cfb9 SWDEV-267199 - hipMalloc test issue on centOS
Change-Id: I789516e2bf921ffd3577f97571e33bcc08047849


[ROCm/hip commit: 684a0ab5df]
2021-03-03 11:47:13 -05:00
Sarbojit Sarkar c05b2659a6 SWDEV-274436 - Fixed square build issue
Change-Id: If64be13be48bb7e620172ec245bc819c923f918a


[ROCm/hip commit: 4af2e3d87e]
2021-03-03 11:46:11 -05:00
Tao Sang bb01397415 SWDEV-274915 - Prevent repeatedly linking dependence
Some upstream will load hip multiple times thus Rocclr static lib  will
be linked to hip::amdhip64 many times. This will bring some unexpected
issues such as in hipBLAS. The patch prevents his happening.

Change-Id: I6bb27659f74371dae6e59c59fd6bb2022cc062ff


[ROCm/hip commit: f3a1557653]
2021-03-02 17:33:52 -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
Tao Sang 0604a66dbc SWDEV-274307 - Send NVCC_OPTIONS to linker
Flags of NVCC_OPTIONS need be sent to linker. Because compiler and
linker flager are mixed in NVCC_OPTIONS.

Change-Id: I3db37b962808566ea145e3cbdefa66d373e2d360


[ROCm/hip commit: 2152cc1b3d]
2021-03-02 09:48:00 -05:00
Tao Sang ec1f689600 SWDEV-270973 - Add missing copyright headers
Change-Id: I6bb27650f74372dae6e29c79fd6bb2022cc062fe


[ROCm/hip commit: b504a9bfae]
2021-03-01 19:46:24 -05:00
Julia Jiang 9382542eb4 SWDEV-272921, SWDEV-270961 - correct index and linkage
Change-Id: I48a66091bb6f304864e282bd03e9eb748fa04da7


[ROCm/hip commit: d32367a1d8]
2021-03-01 16:07:00 -05: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
Payam 47f9bbf197 SWDEV-273405 - updated roctracer path to use env var
Change-Id: I9ec74c475161a3e310f57d193449023e921f2922


[ROCm/hip commit: c77caa3fbf]
2021-02-26 14:51:26 -05:00
Vladislav Sytchenko a523f75554 SWDEV-232428 - Enable device printf for Windows
Change-Id: Id72cfc34cfcfcbcb459bd8d84979637eaf7947dd


[ROCm/hip commit: 084d25010b]
2021-02-26 11:46:38 -05:00
Satyanvesh Dittakavi 08828176e7 SWDEV-271491 - Fix flags for hipSetDeviceFlags on HIP-CUDA path
Change-Id: I29446d5cc5a26a4b83fa45175ccdf1d8f3a9ea40


[ROCm/hip commit: d134c05699]
2021-02-25 12:06:33 -05:00
Jatin Chaudhary 31983c00f5 SWDEV-272811 - hipCabs returns a double and uses sqrtf, which maps to f32 operation. sqrt should be used instead
Change-Id: I4f74ee8853113fcebfa508bea9308ae93c7ad13b


[ROCm/hip commit: 4d0383df0c]
2021-02-25 08:47:19 -05:00
Satyanvesh Dittakavi a73beaf73f SWDEV-272082 - Fix Cooperative groups tests on HIP CUDA path
Change-Id: Icc68bc1e48c01ee120aaab17c928ffbbb96eae96


[ROCm/hip commit: 4985aa5e5c]
2021-02-25 04:54:27 -05:00
Rahul Garg d92a69c10a SWDEV-269604 - Revert "Update dispatch latency with wall time measurements"
This reverts commit 4ca1d84a26.

Hold wall time related updates till direct dispatch is ready.

Change-Id: I53b232f6f51bc2fc71b6b639fe0081e2907e9707


[ROCm/hip commit: 0130a166db]
2021-02-25 04:50:44 +00:00
cjatin 5d57a2e661 SWDEV-273859 - Add --hip-version to comgr call
Change-Id: Iae6c1a5e958a73f5d9849c13c8b49eede914e25e


[ROCm/hip commit: b74de31f2a]
2021-02-24 23:41:34 -05:00
Arya.Rafii ad0b9c80f2 SWDEV-269246 - Fixed null-case logic for hipCtxPopCurrent
Change-Id: Ic173980caccde8afee85a75c55a5d536f421549e


[ROCm/hip commit: 76abab2f24]
2021-02-24 13:20:24 -05:00
kjayapra-amd 54e273fa87 SWDEV-274058 - Porting HIP, ROCclr gfx90a changes to mainline.
Change-Id: I02f53d4c7897d26243620cfc961fa9bd984cede4


[ROCm/hip commit: 848b7e3ec0]
2021-02-24 09:55:43 -05:00
DURGESH KROTTAPALLI 49be095157 SWDEV-238517 - Enhancing hip unit tests
[dtest] Tests for hipEvent related APIs

Added Negative scenarios for hipEvent related APIs

1. Verifying all hipEvent related APIs by passing nullptr.
2. Pass illegal/unknown flag to hipEventCreateWithFlags API

Change-Id: Ia0a24065d16fe0f5ee28a88e280c25c1be0c3590


[ROCm/hip commit: 44753583e7]
2021-02-24 06:29:26 -05:00
German Andryeyev cfb9ba9ffe SWDEV-272496 - Add marker if notification was the last command.
If MT is enabled, then a new callback can be received before the previous
command is processed, causing a conflict of 2 callbacks.

Change-Id: I5ff8f231208e8d62824d590d3c8e791e8e36affb


[ROCm/hip commit: 56154e33dc]
2021-02-23 13:12:06 -05:00
Tao Sang a4baf5b238 SWDEV-272088 - Fix runtimeApi/event/hipEventElapsedTime issue
runtimeApi/event/hipEventElapsedTime will report invalid resource error
on cuda due to wrong calling sequence. The fix will arrange the calling
in right sequence.

Change-Id: I3db28a962888566ea135e3cbdefa68d373e2d369


[ROCm/hip commit: ce4ba590fe]
2021-02-23 12:36:40 -05:00
Tao Sang 36f39b7f00 SWDEV-272089 - Shorten memory test time
memory/hipMalloc_MultiThreaded_MultiGpu costs too much time to finish.
    1 GPU: about 1000s, 2 GPUs: about 2200s
But Jenkin build need quick return and ctest will kill test that last
1500+s. So we need shorten the test time.

Change-Id: I3db27a962808566ea135e3cbdefa66d373e2d369


[ROCm/hip commit: 0326018d6e]
2021-02-22 18:01:00 -05:00
Tao Sang 609cd39eba SWDEV-273484 - Fix static lib build failure
Exclude gcc/LaunchKernel from static lib as
it's shared lib test case only

Change-Id: I3db17a962808565ea135e3cbcefa66d373e2d364


[ROCm/hip commit: 91c3cffcef]
2021-02-19 17:11:26 -05:00
Vladislav Sytchenko a90d0a40f6 SWDEV-255979 - Fix Windows build
Change-Id: I1f1375911d90ded9043a4716e7d09a3ca6a33c23


[ROCm/hip commit: fa169b129b]
2021-02-19 11:31:52 -05:00
Rahul Garg 85ead22dca SWDEV-270994 - Bump version to 4.1
Change-Id: Ibe3fcff157f9e0872852dc690ed5db8a8c248049


[ROCm/hip commit: 760aaf86e7]
2021-02-19 01:59:39 -05:00
agodavar 39c608e98d SWDEV-255979 - Added support of __managed__ static variable
Change-Id: I9d5cbbecc8c19ec38a95c94ab4130465ba76c102


[ROCm/hip commit: 995e6336c6]
2021-02-17 13:01:29 -05:00
Satyanvesh Dittakavi db0c3fdaaf SWDEV-272543 - Fix hipDeviceGetP2PAttribute when both devices are same
Change-Id: I3db17a962807565ea134e3cbcefa66d373e2d363


[ROCm/hip commit: 0d7cd231e8]
2021-02-17 12:41:59 -05:00
Rupam Chetia c91bc2ba9e SWDEV-238517 - [dtest] Adding new test case to validate hipDeviceProp_t arch values
1. Added 1 scenario to validate value of deviceProp.arch.has* with
value of __HIP_ARCH_HAS_* device flag.

SWDEV-238517 - Enhancing hip unit tests

Change-Id: Idb237a76b75180ce77808853a5351f19077a0d33


[ROCm/hip commit: 5983bf0149]
2021-02-17 03:23:42 -05:00
Sarbojit Sarkar 48ef903037 SWDEV-272769 - Enabled gcc based hip test
Change-Id: I48bc850df00848bf11de71e3f614273111d31b47


[ROCm/hip commit: 1b9269d948]
2021-02-16 21:20:00 -05:00
Tao Sang 30637d21d0 SWDEV-272089 - Fix concurrent memory test failure on CUDA
Change-Id: Ibf35c789d6bd4279bdcedba1a6e057639c258489


[ROCm/hip commit: b889bbd960]
2021-02-16 10:00:23 -05:00
Jatin Chaudhary 4f4340f4af SWDEV-268531 - Fixing shadow variable warning in vector_types
Change-Id: Ic57e22853529a953582c9194d09133a5aab989aa


[ROCm/hip commit: 22164ebc3f]
2021-02-16 06:51:37 -05:00
Maneesh Gupta e1802c292c SWDEV-271416 - Keep HIP_DYNAMIC_SHARED macro for compat with existing HIP apps
Change-Id: I536e0c65d6e8696cbc369082350834abd710abca


[ROCm/hip commit: debceab2a8]
2021-02-16 00:09:48 -05:00
Rupam Chetia 03a8b74aa9 SWDEV-238517 - [dtest] Test for Multiple Target Architecture Code Object
Added a test to generate a code object for multiple target
architectures (including for the current device),
load and execute the kernel.

SWDEV-238517 for enhancing hip unit tests

Change-Id: I509d01124abdc0495cfc770ab5508738f108c91c


[ROCm/hip commit: 7c20d3e4e4]
2021-02-15 06:41:24 -05:00
Rahul Garg 10a61380dd SWDEV-271182 - Fix HdpMemFlushCntl and HdpMemFlushCntl
Change-Id: I33e5a677c6c6e1d83e6343f8e3690d7b34fe2af5


[ROCm/hip commit: 72e7826adf]
2021-02-12 14:38:56 -05:00
Sarbojit Sarkar 4500383ffb SWDEV-270630 - Added missing nullcheck
Change-Id: I7caf26c59c4660e26b4159da35731c2ce1600819


[ROCm/hip commit: 5e7ee214ec]
2021-02-12 13:29:30 -05:00
Sarbojit Sarkar f846f05f3c SWDEV-271496 - Added missing params check
Change-Id: I17bbf5ed445826e7380df22fa5c6ec1675e208d6


[ROCm/hip commit: 751578a37e]
2021-02-12 13:28:12 -05:00
Maneesh Gupta 800652cef7 SWDEV-269351 - Revert "Implement assert() using the new fprintf_stderr facility"
This reverts commit f0a9c129a0.

Reverting since this is dependent on a device libs change which is not yet in mainline.

Change-Id: I094781b868f39995d1eecb41488c1a1a0147b787


[ROCm/hip commit: 7998429c21]
2021-02-12 03:46:17 -05:00
Tao Sang 3ba3339596 SWDEV-264220 - Support package install of hip-lang
Change-Id: Ibf34c789d6bd4278adcedba1a6e057639c258488


[ROCm/hip commit: 6ef373d02a]
2021-02-11 15:41:54 -05:00
Vladislav Sytchenko 910366cc49 SWDEV-252745 - Guard PCH code behind __HIP_ENABLE_PCH macro
Change-Id: I12425b9d44b3d92f9cacceb797a5d09d99e4156b


[ROCm/hip commit: eb00f70bf3]
2021-02-10 09:23:41 -08:00
Zack Galbreath 17ca4ca8dc SWDEV-264220 - Provide CMake hip language configuration information
This provides the required information for CMake to bootstrap
HIP language and runtime support. In particular this file
is consumed by CMake during HIP compiler detection to
determine the required flags needed for compilation and
linking.

Initial design was discussed in #2158

Add copyright / license header

Change-Id: I10acb860bf6291b2deb6b678e6e916faa7c82c2a


[ROCm/hip commit: 8c90ab196b]
2021-02-10 08:26:35 -05:00
cjatin 68e3162151 SWDEV-252745 - Adding rtc options transformer
Change-Id: Ib250689906a35f81255398e53da979774361dbfa


[ROCm/hip commit: 4681e124f6]
2021-02-09 13:35:30 -05:00
cjatin e2d28dbe76 SWDEV-269879 - Adding function that recommends optimal thread count
Change-Id: I42eb94a058c1b7f9253182e16ff1c3389a836d61


[ROCm/hip commit: 7ba1a0cf72]
2021-02-09 13:34:08 -05:00
cjatin cb46badf20 SWDEV-268531 - Fixing shadow varible warning seen with hip vector usage
Change-Id: I9e20a41e74e473b328cc173f2c27b06352128c88


[ROCm/hip commit: a12163b4e5]
2021-02-09 13:33:12 -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
Jatin Chaudhary 24f12bbd85 SWDEV-271274 - Remove hip init call from hipUnregisterBinary, this call ends up initializing rocclr and hsa even when there is no hip call in the entire file
Change-Id: I20c1d3079c6032d79c5b892d5616921f7aeb4fe2


[ROCm/hip commit: 1770e8a160]
2021-02-09 07:59:32 -05:00
Satyanvesh Dittakavi f621805e46 SWDEV-269439 - Fix dtests build failure on HIP CUDA
Change-Id: Ibdba5d364df1bcd3b9e158e22a602dd993044d7a


[ROCm/hip commit: 4f062fa1fb]
2021-02-08 17:09:49 -05:00
Tao Sang 285775c1b5 SWDEV-271406 - Remove unecessary hip_ext.h
tests/src/runtimeApi/module/hipModuleLaunchKernel.cpp doesn't
need hip_ext.h which will fail cuda building. So remove it

Change-Id: Icf5763449ccec839d9efda90ffe3a86fb53bdb85


[ROCm/hip commit: 9996ebb641]
2021-02-08 14:33:04 -05:00
Julia Jiang ef396373ec SWDEV-271416 - Remove HIP_DYNAMIC_SHARED macro in hip
Change-Id: I12f39ea8438eb7ce76d8ffb2151b4faa93689048


[ROCm/hip commit: 090b2829b9]
2021-02-08 13:17:46 -05:00
Tao Sang 138ac37a70 SWDEV-271363 - Fix undefined HIP_VERSION_GITDATE
HIP_VERSION_GITDATE won't be defined when git isn't
installed. This will lead to building failure of
deviceLib.hipVersion. When git isn't installed, set
HIP_VERSION_GITDATE as 0 by default.

Change-Id: Icf5763449ccec833d9efda90ffe3a86fb53bdb82


[ROCm/hip commit: 76d8ad1bf9]
2021-02-03 21:31:26 -05:00