Commit Graph

12970 Commits

Author SHA1 Message Date
Tao Sang 2a6f45533d SWDEV-270973 - Add missing copyright headers
Change-Id: I6bb27650f74372dae6e29c79fd6bb2022cc062fe


[ROCm/clr commit: 4048db950c]
2021-03-01 19:46:24 -05:00
Julia Jiang 5c18e96435 SWDEV-272921, SWDEV-270961 - correct index and linkage
Change-Id: I48a66091bb6f304864e282bd03e9eb748fa04da7


[ROCm/clr commit: 99e03e067a]
2021-03-01 16:07:00 -05:00
Jatin Chaudhary 59204ceea9 SWDEV-272361 - Dont call memcpy2d if width is 0 or height or depth is 0
Change-Id: I22324a536d2a5e68b9fc3e5ee4ad821b49021a17


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


[ROCm/clr commit: 564417d00f]
2021-03-01 14:33:46 -05:00
German Andryeyev f6cc68deac SWDEV-272496 - Fix multiple timing issues
- Don't notify if the batch is empty, because that means
the current command was processed already.
- Disable pinning optimization to avoid a race condition on stall.
- TS marker submition requires extra AQL barrier
to track the status.

Change-Id: I17eff4ad12ac66cfe1bb44048bebb1891805279d


[ROCm/clr commit: 24299e25bd]
2021-03-01 12:46:57 -05:00
Alex Xie d82e14bf2c SWDEV-272382 - [OCL][LNX] OCLMemoryInfo[1] subtest of oclruntime is failing
1. Fix the size of the memory when releasing.
2. Make sure we only count the device memory

Change-Id: Ib4dcda79f313c4ee9cc1c7bab53f8076bce5f583


[ROCm/clr commit: 639d67866c]
2021-02-28 16:00:51 -05:00
Chauncey Hui 659ad315de SWDEV-2 - Change OpenCL version number from 3265 to 3266
[ROCm/clr commit: b7c0f180da]
2021-02-27 03:00:06 -05:00
German Andryeyev ff6c8c32b3 SWDEV-274464 - Align image width for pitch calculation
Change-Id: I2f817993da06d2e6fe23e8b4b9d0fe10a2e61760


[ROCm/clr commit: b123dbed2a]
2021-02-27 01:30:52 -05:00
Ashutosh Mishra cd0b146be0 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/clr commit: b9c0065e4f]
2021-02-26 23:29:53 -05:00
Payam a8df01574a SWDEV-273405 - updated roctracer path to use env var
Change-Id: I9ec74c475161a3e310f57d193449023e921f2922


[ROCm/clr commit: 5b7dd3a4b9]
2021-02-26 14:51:26 -05:00
Vladislav Sytchenko 3cd2c487d3 SWDEV-193973 - Enable HSAIL for all Navi Asics
Change-Id: I0a48442f9a970de3d449e512293bc4600c62db13


[ROCm/clr commit: 4e1232a110]
2021-02-26 11:56:09 -05:00
Vladislav Sytchenko 610611edd1 SWDEV-232428 - Enable device printf for Windows
Change-Id: Id72cfc34cfcfcbcb459bd8d84979637eaf7947dd


[ROCm/clr commit: 1f8bdcaf20]
2021-02-26 11:46:38 -05:00
Chauncey Hui 8fa36c6e6e SWDEV-2 - Change OpenCL version number from 3264 to 3265
[ROCm/clr commit: ebda86f961]
2021-02-26 03:00:10 -05:00
Satyanvesh Dittakavi 936d760a58 SWDEV-271491 - Fix flags for hipSetDeviceFlags on HIP-CUDA path
Change-Id: I29446d5cc5a26a4b83fa45175ccdf1d8f3a9ea40


[ROCm/clr commit: c2a767a66e]
2021-02-25 12:06:33 -05:00
German Andryeyev 52ea1c1e91 SWDEV-272496 - Fix a regression in PAL
Skip notification for markers with direct dispatch only,
since they are blocking always

Change-Id: I6bb17650f73371dae6e29c59fd6bb2012cc062fd


[ROCm/clr commit: a9b0e20d26]
2021-02-25 11:11:42 -05:00
Jatin Chaudhary 75e91e9073 SWDEV-272811 - hipCabs returns a double and uses sqrtf, which maps to f32 operation. sqrt should be used instead
Change-Id: I4f74ee8853113fcebfa508bea9308ae93c7ad13b


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


[ROCm/clr commit: 3abd25b1e9]
2021-02-25 04:54:27 -05:00
Chauncey Hui 504367f850 SWDEV-2 - Change OpenCL version number from 3263 to 3264
[ROCm/clr commit: 9c2f9b208a]
2021-02-25 03:00:07 -05:00
Rahul Garg 4ca5114b35 SWDEV-269604 - Revert "Update dispatch latency with wall time measurements"
This reverts commit be82aa43fb.

Hold wall time related updates till direct dispatch is ready.

Change-Id: I53b232f6f51bc2fc71b6b639fe0081e2907e9707


[ROCm/clr commit: 62c278c39d]
2021-02-25 04:50:44 +00:00
cjatin 3d0abe6803 SWDEV-273859 - Add --hip-version to comgr call
Change-Id: Iae6c1a5e958a73f5d9849c13c8b49eede914e25e


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


[ROCm/clr commit: 5c2eb09624]
2021-02-24 13:20:24 -05:00
Vladislav Sytchenko 0a132499ce SWDEV-271964 - Revert "SWDEV-264244 Fix StreamSync"
This reverts commit a962e2d0b3.

Change-Id: I870c8b71edeb31f587fffe2447762acba61a7938


[ROCm/clr commit: 184b2631d5]
2021-02-24 11:43:08 -05:00
Vladislav Sytchenko cae2f29c10 SWDEV-86035 - [PAL] Correct allocation logging
Since the allocation can be a suballocation, we should print both the
VA range for the allocation and the underlying memory object.

Change-Id: Ic9c707bbb78113b366d1b2c688e6fd33bdc8fd94


[ROCm/clr commit: 9e8a2f3266]
2021-02-24 11:35:49 -05:00
kjayapra-amd d26aceba19 SWDEV-274058 - Porting HIP, ROCclr gfx90a changes to mainline.
Change-Id: I4f4220df77e57f749a00c1dbb66743ac5af4959a


[ROCm/clr commit: 46a50965c4]
2021-02-24 09:55:54 -05:00
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