cjatin
7bcd555602
Removing ELF flags and moving them to HIP
...
Change-Id: I18464fef82d5d14af7d4c46a80318a2922895bb7
2021-01-04 13:43:33 -05:00
cjatin
6faffdffd2
Add ELF Flags moved from rocclr
...
Change-Id: I5febe7bdca80517e9f9492d7930def72db83c14e
2021-01-04 13:43:16 -05:00
Jatin Chaudhary
e14dbaeb6e
Adding file command as dependency
...
Change-Id: Ic719c5ce8ad0d99f6a341b5b46927587080fcf2e
2021-01-04 00:03:53 -05:00
Sarbojit Sarkar
f64af513a2
Revert "Fix hipmemset to match CUDA behavior"
...
This reverts commit 9ba5902be4 .
Change-Id: I53052b25bac4956f3efd124eadc936197f2e466a
2021-01-01 00:11:58 -05:00
agodavar
f3e350cd12
SWDEV-239065 Refactor hipcc, added new perl module hipvars
...
Change-Id: I2b71ceb2563501c7b2861cd0f2e23d01207b1bc2
2020-12-31 05:41:36 -05:00
agodavar
7dcf2769ae
hipmemcpy2D handle height 0
...
Change-Id: I46bf89e81559c3bfccac0dd0ccd78eee9058c7e3
2020-12-31 01:41:56 -05:00
agodavar
e7c85da68b
SWDEV-265171 Remove hcc compiler support from hipcc
...
Change-Id: Ibd06e68dd1f079b2f9e46606bdbfc0a0a780b638
2020-12-30 06:26:09 -05:00
agodavar
c5e3f955bf
SWDEV-266089: hipStreamAddCallback argument validation
...
Change-Id: I3e61006796e88b4e2ba029118c95f3499959257b
2020-12-29 05:42:54 -05:00
Sarbojit Sarkar
567a95b4e4
SWDEV-262810: skip duplicate compile flag inclusion
...
Change-Id: I02ebfb3cbaf6ec25819de0c4952795c6cc949e4d
2020-12-20 23:26:55 -05:00
Sarbojit Sarkar
872d8b7fc6
SWDEV-265344: fix for dtest build issue
...
Change-Id: I561546cb792fc0b33c03b17ba2ccf62802f05656
2020-12-20 23:26:20 -05:00
agodavar
d74777d2a7
SWDEV-263180 : Fix null ptr dereference
...
Change-Id: Iefc9fa3f195af45a5c5ebe075056246c930a6d84
2020-12-19 02:02:54 -05:00
jujiang
84db670474
SWDEV-265003-Fix hip faq
...
Change-Id: Ifd29fd9c20ecc905c63fa39fd0768eaca3953aac
2020-12-18 12:21:36 -05:00
Rahul Garg
9ba5902be4
Fix hipmemset to match CUDA behavior
...
Make hipMemset asynchronous with respect to the host unless
destination pointer refers to pinned host memory.
Change-Id: I5ba230e0cc622aa076dc94692a4c43a57dd2df7b
2020-12-17 19:13:31 +00:00
German Andryeyev
d524514f6a
Update comments in the code
...
Make sure the comments in the code match the actual behavior.
HDP read has internal HDP read cache and doesn't use L2.
Change-Id: I667a4643b0e0d6529008f5e1a0a3269456c55b4e
2020-12-17 09:43:23 -05:00
Sarbojit Sarkar
0e4b4255b2
SWDEV-262857: minor fix for D2D
...
Change-Id: Ica3cb9108e7a0d40d6a910f318df0a2420145603
2020-12-16 23:13:15 -05:00
Sarbojit Sarkar
673f483879
SWDEV-262734: Fix for Numa policy bug
...
Change-Id: I4be62c1fc45a59d09aa043af1c998b9e308da604
2020-12-16 11:22:32 -05:00
Evgeny
52b86dfc1c
SWDEV-263773 : adding CMAKE_TESTING_TOOL cmake argument
...
Change-Id: I28df2344d000a0dbef07f45971a9dc92fe07fb27
2020-12-15 17:52:30 -05:00
Evgeny
e54f2a1af1
SWDEV-259683 : hipprof: adding hipApiIdByName() method
...
Change-Id: I1ad2be76efc9fb690ed7c9c2b1091f7eb0c04a31
2020-12-15 15:42:10 -05:00
Vladislav Sytchenko
f45cea29b7
[PAL] Clamp max image buffer size...
...
to the maximum size we can possibly create.
Change-Id: Iade51d84fdada4ae1299d9b2410d373a46357c66
2020-12-15 12:14:09 -05:00
Satyanvesh Dittakavi
f06393c75f
SWDEV-258754 Fix seg fault hipMemset with device pointer mapped from hipHostRegister
...
Change-Id: Ifab66b67df172812ebb6eb25c2bac71821f4d614
2020-12-15 07:44:34 -05:00
Satyanvesh Dittakavi
40733e1fff
Fix hipPointerGetAttributes
...
Modified hipPointerGetAttributes to support hipHostRegister ptrs and mapped device ptrs from hipHostRegister
Change-Id: I2f4cf12e09578768308f644123d6d4bdccbd77a8
2020-12-15 01:40:24 -05:00
Payam
f134b90199
SWDEV-257937 - ROC_BARRIER_SYNC fix for missing SDMA flush
...
Change-Id: I93e8902bfcb16bac8ea594e16ea397b1ceafbd79
2020-12-15 00:54:33 -05:00
Jason Tang
d4316141b7
SWDEV-263539 - More Target ID fix in GSL path
...
On behalf of Tony Tye. The bootleg passes CQE Baffin/Ellesmere test.
Change-Id: I4c21d21b3aaba360682ef15b8a4dda239f8af276
2020-12-14 16:48:55 -05:00
jujiang
b14bf9e98b
SWDEV-249486-Add doxygeny for API hipExtModuleLaunchKernel
...
Change-Id: Id7451ef4f669238a38ed92ec72008326c85afc4a
2020-12-14 15:34:32 -05:00
Tony
eab357b852
Correct parsing of target names and supported targets
...
Change-Id: I6aed72759e6fb4da6834aa80131897dad641e693
2020-12-14 18:20:56 +00:00
Vladislav Sytchenko
ed812e304a
Disable oclruntime.OCLDynamic test
...
This test is causing a PSDB timeout. Not all systems can support
device enqueue on rocm.
Change-Id: I55a209877288e6cc96b2426bf960fa9a431ac7c3
2020-12-14 12:30:10 -05:00
Sarbojit Sarkar
1ef88375c2
Updated review comment
...
Change-Id: Ic7f9f33dd23c975f2a7a0f0d485a3d2a457c62bb
2020-12-13 11:30:28 -05:00
German Andryeyev
18a821acde
Add L2 flush/invalidate after CPU copy
...
CPU read updates L2 with the latest values and requires
invalidation after, because SDMA doesn't use L2 and data can become
out of sync.
Change-Id: I98d1c91ca78a103fa5409e638f97485d62d5b11e
2020-12-11 23:05:49 -05:00
Jason Tang
eef8405041
SWDEV-263539 - Support new Target ID in GSL path
...
Change-Id: I6827de93b10b312a1b78b69f5cf7d5b3d5bb1e31
2020-12-11 15:56:54 -05:00
German Andryeyev
88bd851f72
Move returned last command under the lock
...
Change-Id: I4a2b29a6beacd56ea38d91a33b3c5f8b763be3c7
2020-12-11 15:19:06 -05:00
Tao Sang
a7aa84f73a
Some improvements on hip cmake file
...
1.Fix unexpected repeated hip runtime lib building
2.Seperate test cmake from top cmake.
Change-Id: I1ae457effd639d6c25bca293c1724b026be21ecd
2020-12-11 13:32:15 -05:00
Aaron En Ye Shi
d432615faa
Fix hipTestFMA to support older compiler
...
The older compiler does not promote integral
arguments to double, instead it uses float.
This patch tries to support the old compiler
headers, and also the newer one.
Change-Id: I01e0b96a82ecddc6230cb5baf2573a318b25445b
2020-12-10 14:27:42 -05:00
Alex Xie
2505d68eba
SWDEV-256126 - Linux pro Nuke app crash with "Out of memory"
...
Out of memory while running RIP plugin test
Change-Id: I8d6859a45b871f96ac027f8c7274f716e8524a3c
2020-12-10 11:44:54 -05:00
Rahul Garg
584771e7a2
Handle overflow
...
Fixes SWDEV-261712
Change-Id: I730fcdca8c2640fde9cfdfe2f4b4cf4894807fed
2020-12-09 19:09:43 -05:00
Tao Sang
1cba7ec965
Remove hip-hcc codes: Part one
...
Remove hip-hcc codes from hip code base
Simplify hip CMakeLists.txt to exclude hip-hcc
Simplify cmake cmd for hip-rocclr building
Some minor fixes
Change-Id: I1ae357ecfd638d6c25bca293c1724b026be21ecd
2020-12-09 15:49:47 -05:00
Aaron En Ye Shi
f7b5fea916
Add HIP Sample 2_Cookbook/17_llvm_ir_to_executable
...
HIP supports compiling kernels from LLVM IR into executable.
The device LLVM IR needs to be compiled into a fat binary
object. This device object is embedded into a host object using
llvm-mc directives. Then, any host linker may link the host and
device objects together into an executable. A README was added.
Change-Id: I8ebb6ae86b7ab4290f7cba2eea5584d73a7c453e
2020-12-09 15:48:53 -05:00
Aaron En Ye Shi
b8b90f344c
Add HIP Sample 2_Cookbook/16_assembly_to_executable
...
HIP supports compiling kernels from assembly into exec.
The device assembly needs to be compiled into a fat binary
object. This device object is embedded into a host object using
llvm-mc directives. Then, any host linker may link the host and
device objects together into an executable. A README is added.
Change-Id: I59d3a8b5363073810ffc3aa0d57f21b0df272369
2020-12-09 15:48:41 -05:00
Saleel Kudchadker
08a65054ea
Honor hipEventDisableTiming event flag
...
Change-Id: Ia949db96e81b9af467f04ab40d143e8d6faa9394
2020-12-09 15:10:18 -05:00
Saleel Kudchadker
d0c35f1c40
Fix event reporting for AMD_DIRECT_DISPATCH
...
Change-Id: I2ff74b9470da976852228c30fefbd4abd8e1952b
2020-12-09 15:09:41 -05:00
German Andryeyev
1fde842703
Fix a deadlock in ROCr backend
...
When OCL ROCr backend performs CL_MEM_COPY_HOST_PTR it may attempt
to have access to amd::Memory object it's currently creating,
but it's not ready yet. The logic creates a temporary dummy object
to perform a copy transfer. The new change will make sure runtime
skips allocation of the same device::Memory object second time.
Change-Id: I14c6a00a3941fdcaa6aea299e9f096e4c3f5cadf
2020-12-09 13:23:17 -05:00
Jatin Chaudhary
24b997119f
Updating the gcnArchName to now have target id
...
Change-Id: Ibd5576e0fb5b46e8f212de4ec57cd96eb1d3c157
2020-12-09 01:22:08 -05:00
Sarbojit Sarkar
f403b1c079
[SWDEV-259635] explicit allow_access for hipMemcpy2D
...
Change-Id: Ia3206c08f92f417dc486c5f0dd40474f77b473d9
2020-12-09 01:09:53 -05:00
Aaron En Ye Shi
9c041b1984
Fix hipTestFMA to align with libcxx
...
The HIP-Clang math headers upstream have been updated
to perform type promotion on math function overloads.
If any argument has integral type, it will be cast to
double.
Change-Id: I38d9e6240c40c4092b946851469498b2ae6500ae
2020-12-08 10:48:29 -08:00
Chauncey Hui
16c7f12078
SWDEV-2 - Change OpenCL version number from 3239 to 3240
2020-12-08 03:00:03 -05:00
Jatin Chaudhary
19e234b420
Adding -Wl,@response_file and @response_file mechanism to hipcc
...
Change-Id: Ic2053a38034b9366cf82fc01b7ea6b52e0f17077
2020-12-07 13:38:35 -05:00
Jatin Chaudhary
dfe6f1ef27
Adding checks for function, size and params in ihipModuleLaunchKernel to have common message for hipModuleLaunch and hipExtModuleLaunch
...
Change-Id: I11921ad753930872572571dbfd1c12daba83a725
2020-12-07 03:17:14 -05:00
Sudheer Kumar
da6de84535
compiler argument update for nvcc
...
Change-Id: If40caf20543cc29301482deddfb03d6fccb6f3c9
2020-12-06 23:21:14 -05:00
sumanthtg
8ad39c41d8
[dtest] hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags() - Additional test
...
Additional test for flag
SWDEV-238517 for enhancing hip unit tests
Change-Id: Ieca443678c122e291b9d4cd16f7198505cd5d6c3
2020-12-06 23:19:23 -05:00
Jason Tang
b9520ce4cd
SWDEV-263435 - Get code object version the correct way
...
Change-Id: I18877c116e2f013ec9d04411258c0df8cc0159b3
2020-12-05 15:51:26 -05:00
Chauncey Hui
5ce07e24d5
SWDEV-2 - Change OpenCL version number from 3238 to 3239
2020-12-05 03:00:03 -05:00