Commit grafiek

5350 Commits

Auteur SHA1 Bericht Datum
Anusha GodavarthySurya 1b0be33247 SWDEV-240806 - Enable hipgraph test on amd platform
Change-Id: I470a9c410704ec2074eb32030311df671da5e8bb


[ROCm/hip commit: 7c5afff964]
2021-06-22 01:41:25 -04:00
Aaron En Ye Shi 42e61e12ab SWDEV-263964 - hip version check for hipcc or clang++ only
If the user decides to use a non-hipcc or non-clang++
compiler, we should skip the version checking.

Change-Id: I1424585c606ec0c63103f512161eb88cac27d71d


[ROCm/hip commit: 7a43de757e]
2021-06-21 18:14:09 +00:00
Julia Jiang 51e7881e4c SWDEV-286322 - Add filter attribute
Change-Id: I8b82ab254535f53435cbcb8672e70c7b7d44b5b1


[ROCm/hip commit: 8169c4d047]
2021-06-21 13:56:05 -04:00
Jatin Chaudhary 606862d59c SWDEV-277697 - Disable Saxpy test in catch
Change-Id: I9ca0ac1baa39ea31fa503c01ca8d362b6b0626a9


[ROCm/hip commit: b21882ac59]
2021-06-21 10:59:42 -04:00
Julia Jiang afd774c477 SWDEV-288929 - Add hiprtc support in programming guide
Change-Id: I22d69801bbb36b610c855657a7248c24b9981b80


[ROCm/hip commit: 3f503283e1]
2021-06-18 19:57:16 -04:00
Aaron En Ye Shi 26f834670a SWDEV-291481 - Port hipcc.bat and hipconfig.bat
Add the hipcc.bat and hipconfig.bat files previously
only residing in P4 to CMake builds. Ship this .bat
file as part of bin directory on Windows.

Change-Id: I2822e1419f1f6a0a6cdde9e292231995a83df77d


[ROCm/hip commit: a6d568b9ca]
2021-06-18 18:54:37 +00:00
Tao Sang f37d157aaf SWDEV-291009 - Fix LaunchCoopMultiKernel on NV
Fix compiling error of hipLaunchCoopMultiKernel on
NV A100.
Fix test failure on all NV devices.

Change-Id: Iba20caa0e9021480378625506197384c275a3289


[ROCm/hip commit: f70b109cc3]
2021-06-18 09:07:17 -04:00
Maneesh Gupta 353f42059a SWDEV-291578 - Fix includes to match filename change
Change-Id: Ie88ff30df6135cf13e86f163ba41dba8ed9d0c87


[ROCm/hip commit: 25ed6bc573]
2021-06-18 02:01:30 -04:00
Rahul Garg 5803838502 SWDEV-288707 - Remove amd_detail from hip
Change-Id: Ib99e1544a1074304819e12bc18480dc1519efbbd


[ROCm/hip commit: a5b276d5ac]
2021-06-18 01:10:50 -04:00
Maneesh Gupta 2480727f5c SWDEV-291578 - SWDEV-291581 - Fix packaging scripts
Change-Id: I0b3e2134aea631bcc0b5f24d382733b04f7d1a77


[ROCm/hip commit: 238595de9c]
2021-06-17 23:20:53 -04:00
Aaron En Ye Shi 8be4b065be SWDEV-269027 - Add HIP Clang repo, branch, and patch level to HIP cmake config
Adding hip-config.cmake variables HIP_CLANG_REPO,
HIP_CLANG_BRANCH, and HIP_CLANG_PATCH_LEVEL. These
are extracted from either hipcc or clang++ --version
output.

Change-Id: I5386b71160d592d95d1867e0b563e91514b1b84b


[ROCm/hip commit: abebb6fe21]
2021-06-17 20:28:29 +00:00
Sarbojit Sarkar d673323ab7 SWDEV-288036 - Added gfx90a in default support list
Change-Id: Ie25466f1d762f05d7b0e5dfe2e4881e9db695260


[ROCm/hip commit: b06b1689fc]
2021-06-16 23:49:09 -04:00
Tao Sang 5000aa0f9b SWDEV-291011 - Fix ModuleLaunchKernel on NV
Should not add extra for non-parameter dummyKernel()
in hipModuleLaunchKernel()

Change-Id: If6f881ebb027bd3e8435d3de5295b00277e96a6a


[ROCm/hip commit: 87ba31e596]
2021-06-16 11:52:38 -04:00
Maneesh Gupta 80c69213cc Revert "SWDEV-288593 - hip-config only adds compile and link options to C++"
This reverts commit 64e6f51efc.

Reason for revert: Need to rework this to support older cmake releases as well.

Change-Id: I95dd2311c0166656099229128ed5344eb761942e


[ROCm/hip commit: b01fb5d72f]
2021-06-16 00:29:56 -04:00
Tao Sang 3a7e5a87ca SWDEV-291001 - Disable sincos() for NV
Disable sincos() for NV temporarily in order
to prevent kernel launch failure for NVA100.

Change-Id: Ic9ec976c5c486c4e1d3b83e1578081673f97efa3


[ROCm/hip commit: fd50af8c77]
2021-06-15 13:31:20 -04:00
Aaron En Ye Shi 4bc1bcf397 SWDEV-286884 - Temporarily remove installing hiprtc-builtins
To allow committing a patch into compute/ec/hipamd,
temporarily remove this library from package, and add
back in cmake hiprtc-builtins patch.

Change-Id: I8e448a669e796d4c321fcf8a6fe2dc5773743de3


[ROCm/hip commit: ff97848c63]
2021-06-15 13:20:18 -04:00
Jatin Chaudhary fc385e09b8 SWDEV-277697 - Fix issues with nvcc + catch2
Change-Id: If9be2d7d6a635964ee0abf8ffa9d948b734864f1


[ROCm/hip commit: 6311c3251b]
2021-06-15 12:33:20 -04:00
pghafari 4a9689eb49 SWDEV-245531 - GLInterop: Add Buffer Interop support
Change-Id: I97ed7366d3cecafc2f621894258ecf8ab0d26612


[ROCm/hip commit: 56f90df89e]
2021-06-14 20:36:55 -04:00
pghafari 1632aca8cd SWDEV-245531 - GLInterop: Add Buffer Interop support
Change-Id: Ida6fdc20535d1964e888aa3cd0864c5979c4973b


[ROCm/hip commit: ba37ac4801]
2021-06-14 11:08:56 -04:00
Nick Curtis a30fbde2c9 SWDEV-290252 - Fix for incorrect call to ar in mixed shared / static link
Corrects an invalid call to 'ar', which results in link failures for mixed shared
and static link invocations using hipcc.

Change-Id: I51c33438106af066a13e5ff9533721cdc326790d


[ROCm/hip commit: 6d20ee19c7]
2021-06-14 04:20:45 -04:00
Scott Linder 78202d5c79 SWDEV-229776 - Add bin/roc-obj
Change-Id: If4449d7c47b72e437aaca71ae64ea37d202e2b18


[ROCm/hip commit: 17c3469cf6]
2021-06-11 16:29:20 -04:00
Sarbojit Sarkar d8f9985842 SWDEV-285459 - fix for rpath vs runpath
Change-Id: I5919b7af09f1ee4dbeaf74090d8a84ab430987fb


[ROCm/hip commit: 571eea5059]
2021-06-11 00:44:42 -04:00
Julia Jiang cd7252f82d SWDEV-290704 - Add HIPrtc doxygen in API headers
Change-Id: I629bdeaef7a01aec45bb9453d883213c73008d1c


[ROCm/hip commit: 470f3e521c]
2021-06-10 17:16:01 -04:00
Arya.Rafii c83c166620 SWDEV-290228 - Adding support for path with white spaces in the name
Change-Id: I84a4235f6246c72d182c744174b5a2b1eb9ad9a7


[ROCm/hip commit: 408486d6d0]
2021-06-10 14:00:47 -04:00
Rahul Garg 32b5004c66 SWDEV-290076 - Remove backend implementation from HIP common
Updated cmake to use HIP_AMD_BACKEND_SOURCE_DIR

Change-Id: Ibeaae0d75ffa49a20752a55506e25dbfbe3b5b68


[ROCm/hip commit: 951af38fe7]
2021-06-09 19:04:44 -04:00
Rahul Garg ef4424130c Revert "SWDEV-289854 - Revert to using hardcoded library destination"
This reverts commit 261b237f17.

Reason for revert: Reverting this change to enable split project flow working. Once that is enabled this change will be submitted in hipamd project.

Change-Id: Iad2e044a173787a57a80c5a3d04795e7c2dc5ad5


[ROCm/hip commit: 93b53dc6fa]
2021-06-09 16:31:10 -04:00
Vladislav Sytchenko 261b237f17 SWDEV-289854 - Revert to using hardcoded library destination
Current packaging assumes that HIP runtime will always be installed in
/opt/rocm/lib. This is false to assume, because some distros like CentOS
will use the lib64 directory instead of lib. Relying on CMake to choose
the library directory for us will default in that case to lib64. Hence
there will be a mismatch between where HIP is installed and where CMake
thinks it is.

Change-Id: If6f881eab027bdbe8435d3de5295b00277e96a6a


[ROCm/hip commit: ed9e4ee7df]
2021-06-08 10:11:47 -04:00
jujiang 2f5ad5b68d SWDEV-288929 - Add atomic system functions in HIP doc
Change-Id: Ic9ec276c1c486c4e1d3b83e1578081673f97efa2


[ROCm/hip commit: d8b2571d47]
2021-06-07 18:00:24 -04:00
cjatin 96abeb55fa SWDEV-245414 - Add Copyright and exlude mipmap test on Nvidia platform
Change-Id: Iba29caa0e9021488378625506197384c275a3282


[ROCm/hip commit: 575be36c2e]
2021-06-07 11:15:00 -04:00
Rahul Garg 5f17023409 SWDEV-288707 - Move amdhip.def
Change-Id: I77f9519d0d098b9cfdd1d09f67b3ab38d848620b


[ROCm/hip commit: 5d5e57ed60]
2021-06-07 05:16:16 +00:00
Rahul Garg 4cd9afebe9 SWDEV-288707 - Merge HIP refactored code to staging
These changes move-
- rocclr based implementation inside src/hipamd/src
- platform specific (both nvidia and amd) headers inside
src/hipamd/include/hip

Change-Id: Ia29791a727244952591fe1d813dcef0303b73a9e


[ROCm/hip commit: ce76ec8b88]
2021-06-07 00:07:24 +00:00
Tao Sang 7a932782e2 SWDEV-287768 - Fix hipTestClock test
Use long long instead of int as clock64() return.

Change-Id: Id3e4645c05959e13f58efd88bc43f3a1d3e50d59


[ROCm/hip commit: 792415f960]
2021-06-04 15:45:07 -04:00
Aaron En Ye Shi 37f4d20410 SWDEV-283266 - Fix hipRTC script bugs
Remove extra -isystem causing --cuda-device-only flag
to be dropped. Fix missing __hipRTC_header_size symbol.
Add macros which were consumed during pre-processor
generation. Add INT_MAX and CHAR_BIT macros used in
HIP headers.

Change-Id: Id5143e3c8a2b1e7c78658ba84d5ab3b55ac1fa72


[ROCm/hip commit: b982637965]
2021-06-04 13:58:32 -04:00
Saleel Kudchadker e20452f5f6 SWDEV-286092 - Guarantee flush for event record
Every event record will guarantee completion when its called.

Change-Id: I8de34714a4ca2e105f36de2818e95ec2903143ce


[ROCm/hip commit: 995706ec7b]
2021-06-03 15:41:28 -07:00
cjatin 701701d462 SWDEV-277697 - Fix ununsed variable error with -Werror,-Wunused-parameter
Change-Id: Iadd0050e6cf4e4858e1508c1f24f73732a1af443


[ROCm/hip commit: d8ca73da6a]
2021-06-03 13:25:07 -04:00
jujiang c7e528e360 SWDEV-279885 - correct HIP doc for managed memory
Change-Id: I94bb307dbe12692eb60cce744424fb18deea28ba


[ROCm/hip commit: 52b4faef3b]
2021-06-03 11:05:18 -04:00
Vladislav Sytchenko 3cdb801201 SWDEV-273235 - Correct linker export file usage
CMake doesn't handle linker export files in a general way well. On
Windows it is able to recognize a .def file and pass it to the linker.
Unfortunately it cannot do the same thing on Linux, so we have to
manually specify it.

Note that CMake can't recognize the current Windows export file due to
the .in suffix, hence why the amdhip.def file is being added. The
hip_hcc.def.in file will be removed later, as the Makefile build still
uses it.

Change-Id: Id3e4645c95959e13f50efd88bc43f3a1d3e50d58


[ROCm/hip commit: 118714d1b6]
2021-06-03 11:00:26 -04:00
Robert Maynard 64e6f51efc SWDEV-288593 - hip-config only adds compile and link options to C++
Change-Id: Iefc7c3597fc8c8864621ad6154352c9dd56a3e74


[ROCm/hip commit: 641514cdb1]
2021-06-03 00:18:12 -04:00
German Andryeyev cc3826a126 SWDEV-240804 - Add hipMemAdvise() extension
Add coarse grain memory extension. The new advice will allow HMM
to disable cache coherency policy to improve performance

Change-Id: I3c792d6a96896b983a7ffccddaa0ded06d183212


[ROCm/hip commit: c80955b569]
2021-06-02 16:16:14 -04:00
agodavar 7731bc3359 SWDEV-288510 - Add hip shared library path to run-time search for linker
Change-Id: I7eaf712c01556933b881b983a8994f4e06333116


[ROCm/hip commit: 8ce8a7ef75]
2021-06-02 12:57:12 -04:00
Vladislav Sytchenko bdd9bd6a5d SWDEV-288814 - Revert back to old target naming
HIP exports the runtime target as amdhip64. This target was recently
renamed to amdhip. It is unclear as to who uses this target, as HIP
clients need to use the device/host targets instead, but we still need
to support it for backwards compatability.

Change-Id: I68b9798ab967420e0642d50621d3c8b577a05435


[ROCm/hip commit: 00dc7068fc]
2021-06-01 17:37:30 -04:00
Vladislav Sytchenko 8abe6bdaa6 SWDEV-288814 - Remove dependency on ROCclr
HIP only has a dependency on ROCclr at build time. When exporting HIP,
ROCClr is already embedded into the shared/static library. There is no
reason to search for it.

Change-Id: I8d7e8e58164e5585a1dfc9c998ecf02ca42d8aac


[ROCm/hip commit: b7c59cda76]
2021-06-01 17:37:30 -04:00
Vladislav Sytchenko c6c942c9ed SWDEV-273235 - Partial cleanup of HIP installation logic
Don't install HIP source code.

Correctly install the HIP shared library based on platform. On Linux,
it will be installed to lib/, but on Windows it will be installed to
bin/. CMake will handle this for us.

Change-Id: I00cc074ad8e13b1b953b21444f0c2b5f50dc03c0


[ROCm/hip commit: 444d54df12]
2021-06-01 17:37:30 -04:00
Vladislav Sytchenko f112ad301e Revert "SWDEV-255979 - Enable __managed__ test for amd platform"
This reverts commit bbd07b0bd9.

Change-Id: Ib1be007535dcfb24d9e4eddbdb706d3be4acc20c


[ROCm/hip commit: 88242ad446]
2021-06-01 17:37:30 -04:00
Joseph Greathouse 9f962f4d74 SWDEV-288361 - Implement funnel shift operators
Change-Id: I0c73809366f2d21e75f98fdeac7fed0c7591ee34


[ROCm/hip commit: bec284b26a]
2021-06-01 11:10:11 -04:00
cjatin 51f3ea40b5 SWDEV-277697 - [CatchTest] Disable CXX Extensions (gnu++11 etc) on CMake
Change-Id: I17abd329c16cf0a61316186558828d0524b98281


[ROCm/hip commit: a47bb99db9]
2021-06-01 06:48:05 -04:00
Anusha GodavarthySurya 878ce92905 SWDEV-255979 - Add support for dynamic __managed__ variables
Change-Id: I62b790853ea3ab3b7ac57bab389046c627fdecce


[ROCm/hip commit: d9fffacfb3]
2021-06-01 05:09:51 -04:00
agodavar 001f7d9494 SWDEV-288708 - Rationalize HIP runtime and device version reporting
Change-Id: I49a7ee1fa9ae3ef5f26d99d18c0b8bb58cb9d5ce


[ROCm/hip commit: eb2c98bb00]
2021-06-01 05:09:36 -04:00
Tao Sang 230088d790 SWDEV-276853 - Add kernelVerify
Add kernelVerify for data verification and memory
reading performance checking in kernel.

Change-Id: Id3f9bcad75d643f493daf9d5f47b3a012a427179


[ROCm/hip commit: 9ba66fc157]
2021-05-31 12:45:10 -04:00
Anusha GodavarthySurya bbd07b0bd9 SWDEV-255979 - Enable __managed__ test for amd platform
Change-Id: I0cb31c1983e68e9010340770a56fc45b2a619dcd


[ROCm/hip commit: e519600383]
2021-05-31 05:35:05 -04:00