agodavar
c7aa311537
Fix building of tests on nvidia GPU
...
Change-Id: I02b527ec4135c79bb35cbbfe419211ec363cb065
2020-11-02 09:42:28 -05:00
Tao Sang
ce4cc6095c
Fix wrong include path
...
Fix wrong include path of ROCclrConfig.cmake.in
Change-Id: Ic5a1387a426cf02a985a4ef8ff8ff15e6a871cbb
2020-10-30 18:19:34 -04:00
Alex Xie
ebd1a4a150
SWDEV-254386 [Navi 2x] Add Navi IDs to ocltst test
...
Cherry pick from npi branch.
Change-Id: I4e72c5477d7e0ebb454d651d1f84866ce4d27ee5
2020-10-27 16:00:45 -04:00
Chauncey Hui
a253c82430
SWDEV-2 - Change OpenCL version number from 3221 to 3222
2020-10-27 03:00:02 -04:00
Tao Sang
6a6faf1d58
Fix crash in delete of TempWrapper
...
OCLTST crashing at oclruntime.OCLKernelBinary for
Tahiti because of deleting on pointer vector which
is however a single pointer. The fix will correct
the wrong deleting in TempWrapper destructor.
Change-Id: Ic5a1387a426c102b085a4ef8ff8ff05e6a870cba
2020-10-26 16:04:39 -04:00
Tao Sang
6db4976759
Make directed_test support static libs
...
1.Make directed_test apps linked against static libs
of hip, rocclr, rocr, roct and amd_comgr.
2.Remove custom_target amdhip64_static_combiner.
3.Support EXCLUDE_HIP_LIB_TYPE <static|shared>.
4.Simplify argument list parsing.
5.Install rocclr when rocm is installed.
6.Fix some original small bugs.
Revert "Revert "Make directed_test support static libs""
This reverts commit 0d1cf31eb1 .
Change-Id: I918eeae94487e5e2ff5bfde083667ac65fb6e702
2020-10-26 12:39:58 -04:00
Jason Tang
d943cae31f
Add CommandKindString to the log
...
Change-Id: Ie23123a85cff82b1732da85f5bffbff6958c02e5
2020-10-26 09:16:03 -04:00
Jason Tang
1da0fe4263
SWDEV-254181 - Fix ocl min_max_image_buffer_size regression.
...
ROCr is now reporting the actual HW addressing limits for HIP, so OpenCL will have to impose lower limit.
Change-Id: I60c2ce27ed1d1f45f16fb76438965a236ba872c6
2020-10-26 09:15:31 -04:00
Chauncey Hui
e558ef48be
SWDEV-2 - Change OpenCL version number from 3220 to 3221
2020-10-24 03:00:03 -04:00
German Andryeyev
bd340d8cbf
Correct reported info in ROC profiler
...
OCL can't distinguish different copy types, but ROC profiler
expects SDMA transfer visibility. Add extra code to detect
a transfer with the host memory and substitute OCL command
Change-Id: I5290acd0e10bc082e00c1d4ae1474a075de7f165
2020-10-23 18:29:48 -04:00
German Andryeyev
ae8aec4834
Update documentation
...
Add managed memory section for the doxygen documentation.
No code changes.
Change-Id: I2e9db4ec13422159e265193916f0a3cdb721732d
2020-10-23 18:28:43 -04:00
Chauncey Hui
17d2e5cf56
SWDEV-2 - Change OpenCL version number from 3219 to 3220
2020-10-23 03:00:03 -04:00
Rahul Garg
9252b3a3d9
Fix performance tests for OSDB failures
...
SWDEV-257745- [ROCm CI][mainline] hiprocclrtests broken on OSDB - vg20 and mi100
Change-Id: I36b4ace7e8c2673809c4b0be569250e8f9b06da8
2020-10-23 00:48:08 +00:00
Evgeny
6f88bf5eac
SWDEV-249623 : vdi: case string for marker activity
...
Change-Id: Id1767a5f33d821d649e15f4659e3520ee215c374
2020-10-22 04:04:00 -04:00
Chauncey Hui
28f71a682d
SWDEV-2 - Change OpenCL version number from 3218 to 3219
2020-10-22 03:00:04 -04:00
Alex Xie
e5588f188c
SWDEV-256126 - Linux pro Nuke app crash with "Out of memory "while running Rip plugin test
...
We unmap a memory with a different pointer.
ROCr runtime might be confused and silently ignore the unmap request
Change-Id: Ic5a1387a426cf02a985a4ef8ff8ff05e6a870cbf
2020-10-21 11:33:42 -04:00
agodavar
8717a78bf7
cmake hip-rocclr as default build,change HIP_PLATFORM to amd|nvidia
...
Change-Id: I59d2e15b297b6ca2d5eee1a6dee642bdb01a3839
2020-10-21 07:26:14 -04:00
Chauncey Hui
cb9684ab0b
SWDEV-2 - Change OpenCL version number from 3217 to 3218
2020-10-21 03:00:07 -04:00
Sudheer Kumar
f9d3e5a7be
[dtest] Tests for loading hip apis dynamically
...
SWDEV-238517 for enhancing hip unit tests
Change-Id: I9b6ef41db2f02ee3679360d0fae709a404a0ea4f
2020-10-21 02:49:49 -04:00
Rahul Garg
5ff3010e1b
Add MemoryMapFileTruncated function
...
Change-Id: I26d2a9fbac668cbac284bdfad0d7912db521dc70
2020-10-20 20:25:27 -04:00
Sourabh Betigeri
b65314d168
SWDEV-251091: Added null checks and empty file check in hip_module and hip_platform
...
Change-Id: Iad99f996dcf90ffb86f62e79bf4cbd53b35b7e3b
2020-10-20 19:55:01 -04:00
Payam
4e96bfecd5
Cleaning lintian warning SWDEV-247996 Part2
...
Change-Id: I40eb29b8c2588acac0cd3ae6d96b14fb1abd2350
2020-10-20 19:27:38 -04:00
Aaron En Ye Shi
01bd165507
Fix header for OpenMP AMDGCN support
...
Add ifndef for __OPENMP_AMDGCN__ target, which shares
these header files with HIP.
Change-Id: I720693cfbcfb7836cd2f361d48530fb55ee3557a
2020-10-20 14:04:48 -04:00
Vladislav Sytchenko
be66e29e94
[PAL] Change free mem tracking logic to use PAL size
...
PAL may internally align up the allocation size to the page size
reported by KMD. This will cause a mismatch in size between OCL and PAL.
To avoid this, use PAL size when updating the free memory counter on
both alloc and free.
Change-Id: Ic6e8c861a52170476474fb70a769eef93be3261f
2020-10-20 12:10:14 -04:00
kjayapra-amd
c18a791c80
SWDEV-250005 - Fixing error code propagation to HIP outer layer.
...
Change-Id: I0c0e87dbace0b1182f24411200abdfd9cab3f865
2020-10-20 09:43:57 -04:00
Chauncey Hui
5d6f656c3f
SWDEV-2 - Change OpenCL version number from 3216 to 3217
2020-10-20 03:00:04 -04:00
Sarbojit Sarkar
a73d1a1fe0
SWDEV-256325 : Fix for hipMemset2D crash
...
Change-Id: I1f434602fecd4fb935d2bc72f2c72d6a2d4c45fe
2020-10-20 02:54:29 -04:00
Rahul Garg
3979d063a1
Bump version to 4.0
...
Change-Id: Ia8c3b21ccd58f07c95aa3030bc787144f934f80e
2020-10-19 21:00:13 -04:00
Jason Tang
25cc965c76
Change file mode 755 back to 644
...
Change-Id: I4ba5d66997ffd3331c56674d4bf805160dcdf049
2020-10-19 15:09:32 -04:00
Aaron En Ye Shi
bd9ed9ad3d
Fix header invalid sqrt fwd decl and ifdef
...
The __ocml_sqrt_* functions only accept a single arg,
not two args. Also, change ifdef for if because the flag
__HCC_OR_HIP_CLANG__ is always defined.
Change-Id: Id9dc4eaf0f25df1df27a1bf643cb545ac23653f8
2020-10-19 18:01:14 +00:00
Rahul Garg
4b7c8f5fc1
Fix PCI bus domain ID query
...
SWDEV-256338
Change-Id: I5db361bd2899a5bf761ecf05ecd4635f9e3dce1d
2020-10-19 12:02:50 -04:00
Tao Sang
b74d120627
Fix ocltst test issue
...
Fix dumpImage() issue exposed on Win10.
It's called by internal compiler on Navi14
Change-Id: I693ffd45b6b03657822afdc872781901bc69b65d
2020-10-18 22:10:59 -04:00
Chauncey Hui
5c1b96c844
SWDEV-2 - Change OpenCL version number from 3215 to 3216
2020-10-17 03:00:04 -04:00
German Andryeyev
cb4e6bd264
Upgrade PAL interface version to 632
...
Change-Id: I1b8b936cc9bc59ff80296cc6bf5137c3af398c5d
2020-10-16 13:12:16 -04:00
Sourabh Betigeri
7513454a28
SWDEV-254134: Added new perf test - Vector Dot product in performance/compute
...
Change-Id: Ic2900fe9a1b6b197cdc8c2dd0f93723a8f73f14c
2020-10-16 13:07:13 -04:00
Reshabh Sharma
255c168ad7
SWDEV-253557 Strip debug symbols for release builds
...
Change-Id: I4f75a0c08020ecd76e1eec159f266cd1f754af92
2020-10-16 16:10:51 +05:30
Reshabh kumar Sharma
3997b03026
Revert "SWDEV-253557 Strip debug symbols for release builds"
...
This reverts commit 4c15a8f190 .
Reason for revert: Breaks mainline build
Change-Id: Ia1fc5e5723ec688d47544cc26127b680fad59b58
2020-10-16 04:03:07 -04:00
Chauncey Hui
f28b011746
SWDEV-2 - Change OpenCL version number from 3214 to 3215
2020-10-16 03:00:03 -04:00
Reshabh Sharma
4c15a8f190
SWDEV-253557 Strip debug symbols for release builds
...
Change-Id: I50032cb6aae7b1ed1a95c8e84fa8ce5cce476570
2020-10-15 23:41:27 -04:00
German Andryeyev
a5661192b6
Reduce the number of allocated signals
...
Enable this optimization when the barrier is disabled, since
reuse requires a signal wait.
Use the size of pending AQL signals as the size of signal pool.
Change-Id: I2754a0f8b67e19d2601c58945e10fdf0e8be1624
2020-10-15 16:39:33 -04:00
Alex Xie
e4e6c46356
SWDEV-251360 - Add tracing for memory allocation/free.
...
This can be used to debug VM fault
Change-Id: I7685485b0450ea84d10b710639ad7b6c5ec2fcf3
2020-10-15 15:38:55 -04:00
Rahul Garg
a224dc2a7b
Fix PCI bus domain ID
...
SWDEV-256338
Change-Id: I09afdca4f1a08f99ce662a4c4ed8a51d85500699
2020-10-15 14:59:57 -04:00
Chauncey Hui
f714bbffc1
SWDEV-2 - Change OpenCL version number from 3213 to 3214
2020-10-15 03:00:04 -04:00
Rahul Garg
6d9ceed2f4
Revert "SWDEV-253557 Strip shared lib for release builds"
...
Fixes SWDEV-256563 - Mainline build breaking issue.
This reverts commit eac709a8a9 .
Reason for revert: <INSERT REASONING HERE>
Change-Id: Ib2e9ef362dc7dece9f4bbe7611b4be45087aa18e
2020-10-14 17:53:04 -04:00
Rahul Garg
cc1101f97a
Fix maxTexture1D query
...
Needed by SWDEV-254068
Change-Id: Ib43a3e5e96d3882af354208063e5502673c0f35a
2020-10-14 17:32:04 -04:00
Rahul Garg
c0f8b52f06
Add image1DMaxWidth_ for maxTexture1D property
...
Needed by SWDEV-254068
Change-Id: Ic650dfb6e5b38d7544ba647c53de52deda39b92d
2020-10-14 17:30:43 -04:00
Vladislav Sytchenko
330b674821
[PAL] Allow more heaps for non-SVM suballocations
...
On ReBar systems the invible heap is not present, so in theory we should
fail creating the suballocation chunk, however PAL doesn't report any
errors.
To make sure we never fail, allow creating the allocation in the visible
heap and system memory.
Change-Id: Iea9cc68d98b9cb396a2b7a37398b98b66274083b
2020-10-14 16:56:12 -04:00
Vladislav Sytchenko
2ec5a47c88
[PAL] Allow for embedding debug info into IBs
...
Change-Id: I4473b9c5aa36370d9af37f22a78f4414eaa21e01
2020-10-14 15:54:48 -04:00
Julia Jiang
5a174daa09
SWDEV-249486-Update HIP doxygen
...
Change-Id: Id32772b8f4d495e0f1bd3cb5cd1ec211a06298c3
2020-10-14 13:59:58 -04:00
Reshabh Sharma
eac709a8a9
SWDEV-253557 Strip shared lib for release builds
...
Change-Id: I79608406b3295c762a3781abd455bd63e6893dd4
2020-10-14 10:50:07 -04:00