Commit Graph

11513 Commits

Author SHA1 Message Date
Jason Tang 0f5020cfb5 SWDEV-1 - switch to C++17
Change-Id: Ifdb1ecbf175949462c29035c007acb3e82fe8322


[ROCm/clr commit: 4d06d64939]
2021-09-09 10:16:43 -04:00
Jason Tang 3f5d248508 SWDEV-1 - switch to C++17
Change-Id: I7e6a28a20ca163fe86dd6d53b031e9bb6f9b22c9


[ROCm/clr commit: 5549007856]
2021-09-09 10:16:14 -04:00
Chauncey Hui ba1ade3521 SWDEV-2 - Change OpenCL version number from 3363 to 3364
[ROCm/clr commit: df862e7ef6]
2021-09-09 03:00:06 -04:00
Vladislav Sytchenko 6f895e3fc5 SWDEV-1 - Prepare for c++17 switch
std::mem_fun() and std::bind2nd() are removed in c++17. Switch to
simpler logic that does not require those functions.

Change-Id: I19a31f076e1813e367615bd377b424046ce144c7


[ROCm/clr commit: d934612948]
2021-09-08 16:18:33 -04:00
Vladislav Sytchenko f04c71975f SWDEV-301636 - Manually find NUMA
CMake does not provide a way to query the NUMA library, hence we need
to find it manually.

Change-Id: I370b286acdee75cbebc21340da3c432c79f8ffa7


[ROCm/clr commit: dd23379ac8]
2021-09-08 15:04:15 -04:00
Vladislav Sytchenko ab7fe870fd SWDEV-1 - Fix Windows build
std: :mem_fun() is removed in c++17. Simplify logic to not require it.
Change-Id: Ic9a4753b48dd13fcb20cd5b90ff73c3df3211b9f


[ROCm/clr commit: c68f024b35]
2021-09-08 12:59:48 -04:00
Saleel Kudchadker 36ec8c8871 SWDEV-297448 - Add 64bit and 16bit write support
For the fillBuffer shader, if there are two 32bit writes to a MMIO
register, it can get dropped. It has to be a single 64bit write.
Add optimization to fillBuffer to write 64bit and 16bit writes.

Change-Id: I3aa78e027898f8ae01e9c8f09004615673720c2b


[ROCm/clr commit: 21ba34d0fe]
2021-09-08 12:30:04 -04:00
Sarbojit Sarkar 87862528be SWDEV-276319 - Added missing null check
Change-Id: I0fcaa55b9a793cbb6c1d2f3022edf288dabea757


[ROCm/clr commit: 88186db4cd]
2021-09-08 06:53:02 -04:00
Chauncey Hui 5fd0dc4062 SWDEV-2 - Change OpenCL version number from 3362 to 3363
[ROCm/clr commit: 1786fd8851]
2021-09-08 03:00:04 -04:00
Jatin Chaudhary 3231b56cbc SWDEV-299162 - Use new comgr API to demangle names
Change-Id: I9e34518de94db30c345cd03c92801b8424b4e446


[ROCm/clr commit: 0faf1244b5]
2021-09-08 02:32:41 -04:00
Jatin Chaudhary f020572d6e SWDEV-299162 - Add new comgr API to demangle names
Change-Id: I84174d7e40e9afff9a8ea135abadb69d580478e0


[ROCm/clr commit: b5a57327bb]
2021-09-08 00:35:34 -04:00
Sarbojit Sarkar 0c08bbf838 SWDEV-300655 - HIP trace cleanup
Change-Id: Iebc1eefe8d81d2f1f8adbab47e1351f03635868f


[ROCm/clr commit: c8983ead49]
2021-09-08 00:32:47 -04:00
Sarbojit Sarkar 45953e81dd SWDEV-300655 - Added thread ID to hip trace
Change-Id: I9234d4ec93e7687cd0a5d1bd930bd4f80936311b


[ROCm/clr commit: 42d33029dc]
2021-09-06 00:22:42 -04:00
Jason Tang cea605e632 SWDEV-1 - switch to C++17
Change-Id: I555914fc65f61259fe32a7f58864ac0dba1d641f


[ROCm/clr commit: 9ca733ca1e]
2021-09-04 17:19:02 -04:00
Chauncey Hui d93c8fc413 SWDEV-2 - Change OpenCL version number from 3361 to 3362
[ROCm/clr commit: 1b218d6861]
2021-09-04 03:00:05 -04:00
Saleel Kudchadker 1bf9b39cf8 SWDEV-301667 - Kern arg placement
Add a env var ROC_USE_FGS_KERNARG to toggle kernel arg placement
By default its in Fine Grain Kernel arg segment for supported asics.

Change-Id: I3d57ed69a1a4db2b392b0438ead499f3ddca4716


[ROCm/clr commit: e29b9c00ee]
2021-09-02 12:36:49 -04:00
Satyanvesh Dittakavi 5bfa893ac8 SWDEV-301330 - Remove the hard coded driver version on HIP CUDA platform
Change-Id: I0eb10781acc7524174c7ae6fc552c824b7c94b0a


[ROCm/clr commit: b25e6d3716]
2021-09-02 09:03:04 +00:00
Chauncey Hui 587b98105f SWDEV-2 - Change OpenCL version number from 3360 to 3361
[ROCm/clr commit: 6ebbc0a8af]
2021-09-02 03:00:06 -04:00
David Salinas c6063fe27b SWDEV-294828 - Move roc-obj binaries from hip to hipamd
SWDEV-280149 - roc-obj-ls/roc-obj-extract don't extract all kernel code

Change-Id: Ibe8aff5ff02fced4d9034740da72d3aa8d67c6ae


[ROCm/clr commit: 64cbd7951d]
2021-09-02 01:12:38 -04:00
Maneesh Gupta 0e0c0da459 Merge "SWDEV-293197 - Add dependency on rocm-core" into amd-staging
[ROCm/clr commit: e9833dce24]
2021-09-02 01:10:40 -04:00
anusha GodavarthySurya c0a835a9b9 SWDEV-296918 - Bring clang-format in sync with hip & rocclr
Change-Id: I905943b5040c3108741db6f2a00b20fb72043666


[ROCm/clr commit: d30f9335fc]
2021-09-02 00:45:50 -04:00
anusha GodavarthySurya 64799f183f SWDEV-300471 - updated hipFree to wait for all streams to finish
Change-Id: I4983ef48a9e720ed03128d83a8d23ad11024fd8f


[ROCm/clr commit: c9d9fd992a]
2021-09-02 00:45:24 -04:00
jujiang 40cc9aee95 SWDEV-286322 - clean up trailing white space
Change-Id: Ie47bc977e1598356b455957d96f9afa37794c1fd


[ROCm/clr commit: 422a26142d]
2021-09-01 14:53:14 -04:00
jujiang 00bce2cfc2 SWDEV-286322 - clean up trailing white space
Change-Id: If2e3f72ff4901f20dc91539c7d3c290ebb2a2531


[ROCm/clr commit: e1cd8c5ae2]
2021-09-01 14:44:16 -04:00
Satyanvesh Dittakavi 1a9391cdb9 SWDEV-300584 - Update memory validation checks in hipMemPrefetchAsync
Change-Id: Ie3f07781da58a5d909b8e6d0284387493a97e488


[ROCm/clr commit: 9adc14a0f5]
2021-09-01 13:19:04 -04:00
Satyanvesh Dittakavi 1652a70d4a SWDEV-300934 - Check if the stream is valid
Change-Id: I41797dc3e726c7eea6a405f20deebd6f59381b5e


[ROCm/clr commit: dda2613525]
2021-09-01 13:16:36 -04:00
jujiang 7c7a6ee346 SWDEV-286322 - clean up trailing white space
Change-Id: I01f3a559cbd1835aa2fdad7abe2bd685d90fc6a8


[ROCm/clr commit: f63115cec6]
2021-09-01 11:45:47 -04:00
Jason Tang d623a6de19 SWDEV-294768 - Fix PCMark10 performance drop
PCMark10 counts the time spent in clCreateKernel as part of execution
time, so as workaround for the PAL path, move code object loading
back to clBuildProgram.

Change-Id: I3b9cf1879ece08ab59f447ec165b0525bc8593a4


[ROCm/clr commit: 1d0364e590]
2021-09-01 09:25:40 -04:00
Icarus Sparry 45552d6168 SWDEV-293197 - Add dependency on rocm-core
Signed-off-by: Icarus Sparry <icarus.sparry@amd.com>
Change-Id: Id1b34c7c6fa551f3aacc35827cb6906cec4484e3


[ROCm/clr commit: d91e1d9daa]
2021-09-01 00:21:42 -07:00
Jason Tang d1a3931d68 SWDEV-1 - Disable OpenCL support for gfx8 in ROCm path
Change-Id: Ie1e0c0d6273edf6b734909447c2a08252cba305b


[ROCm/clr commit: 7f83bcdb45]
2021-08-31 12:48:47 -04:00
Rahul Garg f55e3f39d4 SWDEV-295859 Update HIP_VERSION
Change-Id: Ibc4ce0d87360b3a25f7a313fc4dcc05e57b4f5f4


[ROCm/clr commit: dab4457c14]
2021-08-31 05:25:43 +00:00
Vladislav Sytchenko 2c01580468 SWDEV-301289 - Add missing sources files needed for ocltst on Windows
Change-Id: Icf96028f7891781e4ce1a7d425ff8d41e2602ffd


[ROCm/clr commit: 35ee5f675c]
2021-08-30 22:33:28 -04:00
Saleel Kudchadker 73004099f7 SWDEV-295275 - Check HW event
Change-Id: I23dfe5626f38b13fbdb6478ab12a0122b03e4a98


[ROCm/clr commit: 6f71170772]
2021-08-30 15:55:58 -04:00
Tao Sang c641ec60de SWDEV-299966 - Fix hipModuleGetTexRef
hipModuleGetTexRef() returns success for any global device
variable name even if it's not a texture.
This is wrong thus will fail "hipModuleTexture2dDrv --tests 0x14"
This patch will compare the size to overcome this issue somehow.

Change-Id: I4a4d96f947a68713036437ee525359ff412fefe2


[ROCm/clr commit: 3f1cb97306]
2021-08-30 10:30:52 -04:00
Chauncey Hui eef9777c7f SWDEV-2 - Change OpenCL version number from 3359 to 3360
[ROCm/clr commit: 037fc843ba]
2021-08-30 03:00:04 -04:00
Vladislav Sytchenko f9722c79a8 SWDEV-298985 - Calm down build warnings
This resolves -Wreorder warning.

Change-Id: I28851d66e19a70c4851ac056819d2daadbdc7113


[ROCm/clr commit: 215853fd54]
2021-08-29 13:58:48 -04:00
Chauncey Hui 2b984d76a3 SWDEV-2 - Change OpenCL version number from 3358 to 3359
[ROCm/clr commit: d5f51db5b1]
2021-08-28 03:00:07 -04:00
Satyanvesh Dittakavi 7c92e51d68 SWDEV-298985 - Fix hipMemPrefetchAsync
Use the dst device specified to prefetch the data

Change-Id: Id3d2295e0ae500ba03031ef43473a2c29852e45f


[ROCm/clr commit: 037f161f2e]
2021-08-27 06:53:09 -04:00
anusha GodavarthySurya 43b3e7d573 SWDEV-287869 - [HIP] Fix Centos/SLES builds
Change-Id: I20ce625263e04224a85d39df9cc5417f8af6d9ec


[ROCm/clr commit: 4d47bd64be]
2021-08-27 05:17:38 -04:00
Satyanvesh Dittakavi c4bba2456b SWDEV-298985 - hipMemPrefetchAsync should prefetch the data to the specified destination device
Pass the device agent specified by the user to the ROCr api instead of passing the device agent attached to the specified stream

Change-Id: I86c98935b9dc404eaa6d47ccdd082a8c3678fb36


[ROCm/clr commit: 169cc857fd]
2021-08-27 05:12:07 -04:00
Chauncey Hui ee8cbc02ac SWDEV-2 - Change OpenCL version number from 3357 to 3358
[ROCm/clr commit: e43e773283]
2021-08-27 03:00:06 -04:00
Satyanvesh Dittakavi 9805fb774e SWDEV-299491 - Update data index in GetSvmAttributes appropriately
Fixes Seg fault caused when the attribute hipMemRangeAttributeAccessedBy
is queried using hipMemRangeGetAttribute

Change-Id: I2ceb2267d89bfc31a55d9eae2685610c7ad89b1f


[ROCm/clr commit: 48c1b895c0]
2021-08-26 13:36:35 -04:00
Freddy Paul 799280db07 SWDEV-300274 - Path to OCL library not handled consistently
OpenCl applications are expected to work with publicly available
libopencl.so that is capable of finding vendor specific library
libamdocl64.so using the ICD loader entry.
x86_64-rocm-opencl.conf should provide ldconfig entry for
libamdocl64.so and libamdocl64.so shall use RUNPATH for finding
dependencies like hsa runtime.

Change-Id: Icf1267c7a04c1545eae0a7236bf8b7581ffa11ef


[ROCm/clr commit: 4790350f63]
2021-08-26 09:31:03 -07:00
Chauncey Hui 7ef84276d2 SWDEV-2 - Change OpenCL version number from 3356 to 3357
[ROCm/clr commit: 1e8da33d49]
2021-08-26 03:00:08 -04:00
Saleel Kudchadker 96f2bdd6ce SWDEV-297448 - Improve logging
Print non pointer kernel args
Change-Id: Ice0dbc894aae1430ac085df319f4b91dfa21665a


[ROCm/clr commit: 75fea4dca6]
2021-08-25 15:46:06 -07:00
Jason Tang 9dd3967661 SWDEV-1 - Correct class name
Change-Id: I20d7092e010cabae6ac1a4eb39a62112fe4c6629


[ROCm/clr commit: 75cafd85b8]
2021-08-25 16:31:46 -04:00
Saleel Kudchadker 8e13d117e4 SWDEV-297448 - Refactor streamOperations code
Reuse FillMemory function, that should fix the cache syncs from the host

Change-Id: Ieebec5fc3ed3a322b88d5187c8dca4805ec6f84b


[ROCm/clr commit: 24442be35a]
2021-08-25 12:33:02 -04:00
anusha GodavarthySurya fb441e0062 SWDEV-297541 - Fix static lib package generation
Change-Id: Ie39cbe6d8a2cda659902f878ff69b45b93f41981


[ROCm/clr commit: b43badaba7]
2021-08-25 00:51:32 -04:00
Chauncey Hui f246b4a097 SWDEV-2 - Change OpenCL version number from 3355 to 3356
[ROCm/clr commit: 4ab11c0366]
2021-08-24 23:52:03 -04:00
Icarus Sparry 87c636e1e7 Add dependency on rocm-core
The intention is to make all rocm-packages depend on a tiny rocm-core
package so that all of rocm can be removed by removing
rocm-core. Obviously it is less than ideal that you install by using
some variant of "apt install rocm" and remove everything by "apt
remove rocm-core", but this is easy to document. The alternative "apt
autoremove rocm" may remove unrelated packages.

Signed-off-by: Icarus Sparry <icarus.sparry@amd.com>
Change-Id: I95cf65550a33b8852ad3da15bbb5c1ac4a88bf46


[ROCm/clr commit: aa52c5079f]
2021-08-24 12:46:21 -04:00