kjayapra-amd
9374c2bb93
SWDEV-274058 - Porting HIP, ROCclr gfx90a changes to mainline.
...
Change-Id: I02f53d4c7897d26243620cfc961fa9bd984cede4
[ROCm/clr commit: 20dd93a3be ]
2021-02-24 09:55:43 -05:00
DURGESH KROTTAPALLI
781a11c2ae
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/clr commit: 2a0593258c ]
2021-02-24 06:29:26 -05:00
Chauncey Hui
e73d10fcfa
SWDEV-2 - Change OpenCL version number from 3262 to 3263
...
[ROCm/clr commit: d5e6769959 ]
2021-02-24 03:00:06 -05:00
German Andryeyev
5a6c7a9ae4
SWDEV-272496 - Disable notification for the previous notify
...
Direct disaptch doesn't insert extra barriers for Markers if
AQL barrier was the last issued command already.
Change-Id: I00fbc658547d83dd3ee64ec391ed50e5f8a08e30
[ROCm/clr commit: 0587fb7450 ]
2021-02-23 17:04:59 -05:00
Jason Tang
09259cd49f
SWDEV-198364 - Only enable clgl sharing in ROCm path when building LinuxPro
...
Change-Id: Ie4d87e252519d090a62b930f7ebb315d3477b690
[ROCm/clr commit: 54a7170e40 ]
2021-02-23 14:15:04 -05:00
German Andryeyev
ad0fb5721d
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/clr commit: fe7501a64b ]
2021-02-23 13:12:06 -05:00
Tao Sang
06a085377d
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/clr commit: b9cf12e920 ]
2021-02-23 12:36:40 -05:00
Vladislav Sytchenko
dfdb975c7d
SWDEV-270013 - Fix uninitialized variable warning
...
Change-Id: Ic4c8090e94e82798c294ac4532ca20efbc5a3a54
[ROCm/clr commit: c93f66a5ec ]
2021-02-23 11:49:28 -05:00
Chauncey Hui
ba2c3ed15c
SWDEV-2 - Change OpenCL version number from 3261 to 3262
...
[ROCm/clr commit: 708d3d6621 ]
2021-02-23 03:00:06 -05:00
Tao Sang
ae1db33145
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/clr commit: 657a515e60 ]
2021-02-22 18:01:00 -05:00
Vladislav Sytchenko
c122c28e5d
SWDEV-86035 - [PAL] Propagate gl2Uncached setting to the backend
...
Change-Id: I594f304a20d448fe198ec27901e6c97b265c1183
[ROCm/clr commit: dbcf023cb1 ]
2021-02-21 13:52:38 -05:00
Vladislav Sytchenko
007671faf8
SWDEV-86035 - [PAL] Fix runtime init
...
The settings need to be populated ASAP, otherwise the dummy context is
not created properly.
Change-Id: Iede0066308bb601dc68164e894775a646a0372f1
[ROCm/clr commit: 263173914f ]
2021-02-20 16:39:13 -05:00
Tao Sang
fc6ff00574
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/clr commit: f055582473 ]
2021-02-19 17:11:26 -05:00
Vladislav Sytchenko
c920024cde
SWDEV-255979 - Fix Windows build
...
Change-Id: I1f1375911d90ded9043a4716e7d09a3ca6a33c23
[ROCm/clr commit: be3c5183b2 ]
2021-02-19 11:31:52 -05:00
Chauncey Hui
72b1b53ddc
SWDEV-2 - Change OpenCL version number from 3260 to 3261
...
[ROCm/clr commit: b625a46db1 ]
2021-02-19 03:00:07 -05:00
Rahul Garg
96c576eef4
SWDEV-270994 - Bump version to 4.1
...
Change-Id: Ibe3fcff157f9e0872852dc690ed5db8a8c248049
[ROCm/clr commit: 18bd7b0c13 ]
2021-02-19 01:59:39 -05:00
Jason Tang
318c9e1080
SWDEV-1 - Fix warnings when building with clang++
...
Change-Id: Idebd2b618b9a3360147984a0e33852dbe2e65818
[ROCm/clr commit: 0d47b06928 ]
2021-02-18 10:02:46 -05:00
Chauncey Hui
17d6907eeb
SWDEV-2 - Change OpenCL version number from 3259 to 3260
...
[ROCm/clr commit: ae7cb73fe5 ]
2021-02-18 03:00:06 -05:00
German Andryeyev
33c1e3d14d
SWDEV-272496 - Wait on CPU before switching to GPU wait
...
GPU waits have noticeable overheads on compute with extra
AQL barrier packet and on SDMA with power saving features. This
change introduces a wait on CPU for 30 us in case the app has tiny
operations.
Change-Id: I761ba3af595f3f48544980058a9077dda15aa5f9
[ROCm/clr commit: ac387f9b03 ]
2021-02-17 15:19:17 -05:00
agodavar
601d2453be
SWDEV-255979 - Added support of __managed__ static variable
...
Change-Id: I9d5cbbecc8c19ec38a95c94ab4130465ba76c102
[ROCm/clr commit: d5b4762d96 ]
2021-02-17 13:01:29 -05:00
Satyanvesh Dittakavi
82a333b3ba
SWDEV-272543 - Fix hipDeviceGetP2PAttribute when both devices are same
...
Change-Id: I3db17a962807565ea134e3cbcefa66d373e2d363
[ROCm/clr commit: d721c79f36 ]
2021-02-17 12:41:59 -05:00
Rupam Chetia
322818430d
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/clr commit: a28c367ed0 ]
2021-02-17 03:23:42 -05:00
Chauncey Hui
98c59bae8b
SWDEV-2 - Change OpenCL version number from 3258 to 3259
...
[ROCm/clr commit: 9900b46c21 ]
2021-02-17 03:00:07 -05:00
Sarbojit Sarkar
e919fb467d
SWDEV-272769 - Enabled gcc based hip test
...
Change-Id: I48bc850df00848bf11de71e3f614273111d31b47
[ROCm/clr commit: ed7f4560cf ]
2021-02-16 21:20:00 -05:00
Jason Tang
342f25aa11
SWDEV-268345 - Remove ADDRESS_SANITIZER option from cmake
...
DevOps is going to add this through build scripts.
Change-Id: Id48ac9c1729d60f337e4cb7f0203822a05038e5e
[ROCm/clr commit: d21913f140 ]
2021-02-16 18:31:07 -05:00
Jason Tang
5b8e6b8e36
SWDEV-268345 - Remove ADDRESS_SANITIZER option from cmake
...
DevOps is going to add this through build script.
Change-Id: I536d691ea8c05d8289bad1448cac532a8ef93cc4
[ROCm/clr commit: 82c6aabb0a ]
2021-02-16 17:37:48 -05:00
Vladislav Sytchenko
086bdf83b4
SWDEV-232428 - Push hostcall implementation to the device layer
...
This change unifies the hostcall implementation for all the backends,
by pushing the common logic to the device layer. This is done by
replacing the use of hsa_signal_t with device::Signal (a light wrapper
around it).
Change-Id: I7b6fca7930b5a0b199da5d85e2e048354cc04e7b
[ROCm/clr commit: 671778bdd3 ]
2021-02-16 17:19:57 -05:00
German Andryeyev
feed6a4b45
SWDEV-273071 - add mipmaps detection for FillImage
...
If mipmap was detected, then create a view with single mip level
Change-Id: I4519b35bd0365c108c42fdb37bfaad729dbc684e
[ROCm/clr commit: 4dc90dae10 ]
2021-02-16 16:19:28 -05:00
Jason Tang
ac06dab550
SWDEV-265304 - Disable GFX8 in LinuxPro ROCr build
...
Change-Id: Ia26bb025a133a4acb255a539a45668975019cc6e
[ROCm/clr commit: c65be06c4c ]
2021-02-16 13:32:47 -05:00
Vladislav Sytchenko
42c3dc5c6e
SWDEV-271486 - [PAL] Temporarily disable reporting sramecc support
...
Change-Id: I089af8f8a4645ce5353f351dbf3a018cd31df216
[ROCm/clr commit: ac237ac094 ]
2021-02-16 10:39:18 -05:00
Vladislav Sytchenko
27fea99659
SWDEV-270013 - Fix Windows build
...
Change-Id: I9573ef8b9d94367b8fa1dd90d40a93ddc4992f18
[ROCm/clr commit: 660e543f49 ]
2021-02-16 10:03:51 -05:00
Tao Sang
18ec4c7268
SWDEV-272089 - Fix concurrent memory test failure on CUDA
...
Change-Id: Ibf35c789d6bd4279bdcedba1a6e057639c258489
[ROCm/clr commit: 5039649dd4 ]
2021-02-16 10:00:23 -05:00
Jatin Chaudhary
3c08aece90
SWDEV-268531 - Fixing shadow variable warning in vector_types
...
Change-Id: Ic57e22853529a953582c9194d09133a5aab989aa
[ROCm/clr commit: 3f6bf4c260 ]
2021-02-16 06:51:37 -05:00
Chauncey Hui
38e1d0d596
SWDEV-2 - Change OpenCL version number from 3257 to 3258
...
[ROCm/clr commit: a1b21ae7d2 ]
2021-02-16 03:00:08 -05:00
Maneesh Gupta
60f4dcc336
SWDEV-271416 - Keep HIP_DYNAMIC_SHARED macro for compat with existing HIP apps
...
Change-Id: I536e0c65d6e8696cbc369082350834abd710abca
[ROCm/clr commit: 42ab466904 ]
2021-02-16 00:09:48 -05:00
Ravi C Akkenapally
6629930067
SWDEV-179105 - Stream Operations: Add support for Wait and Write
...
Change-Id: Ibffa1d6d573826b64763da280074a77271d66808
[ROCm/clr commit: 0a5f9a3b10 ]
2021-02-15 17:02:38 -08:00
kjayapra-amd
4583cbafee
SWDEV-270013 - Allocate kernel_arguments from kern_arg & finegrain pool instead of coarse grain.
...
Change-Id: Id4c6977934fdd6ef2311f6e75593801f1e51983c
[ROCm/clr commit: 2df099df9e ]
2021-02-15 18:20:08 -05:00
Saleel Kudchadker
4da1282882
SWDEV-272673 - Add changes to dump log to a file
...
Env var AMD_LOG_LEVEL_FILE would dump the log to file.
Change-Id: I6add4a1ae6788f376ce116797cc0573007502e73
[ROCm/clr commit: 0f14c54c04 ]
2021-02-15 10:28:06 -08:00
Rupam Chetia
22c580bac8
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/clr commit: 05409f05d0 ]
2021-02-15 06:41:24 -05:00
Chauncey Hui
d88ef70a57
SWDEV-2 - Change OpenCL version number from 3256 to 3257
...
[ROCm/clr commit: 196fada9c8 ]
2021-02-13 03:00:07 -05:00
Rahul Garg
e78e7b8abc
SWDEV-271182 - Fix HdpMemFlushCntl and HdpMemFlushCntl
...
Change-Id: I33e5a677c6c6e1d83e6343f8e3690d7b34fe2af5
[ROCm/clr commit: 607795ec9d ]
2021-02-12 14:38:56 -05:00
Sarbojit Sarkar
8a48c8a0e0
SWDEV-270630 - Added missing nullcheck
...
Change-Id: I7caf26c59c4660e26b4159da35731c2ce1600819
[ROCm/clr commit: 3f5fb8e9df ]
2021-02-12 13:29:30 -05:00
Sarbojit Sarkar
3c1920f76c
SWDEV-271496 - Added missing params check
...
Change-Id: I17bbf5ed445826e7380df22fa5c6ec1675e208d6
[ROCm/clr commit: b7fd0bc902 ]
2021-02-12 13:28:12 -05:00
German Andryeyev
64360211fe
SWDEV-86035 - switch PAL interface to 656 version
...
Change-Id: I162ba6e49aa866c013f37a114df5bb7ea3e08874
[ROCm/clr commit: 70f06c79fa ]
2021-02-12 13:08:59 -05:00
Maneesh Gupta
125de2dbe6
SWDEV-269351 - Revert "Implement assert() using the new fprintf_stderr facility"
...
This reverts commit 10af608c66 .
Reverting since this is dependent on a device libs change which is not yet in mainline.
Change-Id: I094781b868f39995d1eecb41488c1a1a0147b787
[ROCm/clr commit: 18234e1d24 ]
2021-02-12 03:46:17 -05:00
Chauncey Hui
705311fb14
SWDEV-2 - Change OpenCL version number from 3255 to 3256
...
[ROCm/clr commit: 272e29a1cd ]
2021-02-12 03:00:07 -05:00
Tao Sang
a74b4c76fd
SWDEV-264220 - Support package install of hip-lang
...
Change-Id: Ibf34c789d6bd4278adcedba1a6e057639c258488
[ROCm/clr commit: be4ed34a08 ]
2021-02-11 15:41:54 -05:00
German Andryeyev
b5e80a048a
SWDEV-86035 - Enable PAL for gfx8
...
Change-Id: Ia6623993e44aeb4bdf317628ee8a84af6c4cacc7
[ROCm/clr commit: e7c636c5e7 ]
2021-02-11 14:25:43 -05:00
Payam
72b49f0800
SWDEV-257937 - Updated fix for ROC_BARRIER_SYNC=0
...
Change-Id: I7e28e541b654db57fb0890d7dbb7519cfb2d93db
[ROCm/clr commit: a2e0b0495c ]
2021-02-11 14:01:45 -05:00
German Andryeyev
1ac2b818e6
SWDEV-271806 - Disable pinning for views.
...
Only parent object should pin system memory
Change-Id: Ic9a0a34e3aff2263501c564c3cebd33f4f7e2455
[ROCm/clr commit: fb142e7b2f ]
2021-02-11 13:05:58 -05:00