Граф коммитов

3578 Коммитов

Автор SHA1 Сообщение Дата
Chauncey Hui 25f93bc284 SWDEV-2 - Change OpenCL version number from 3150 to 3151
[ROCm/clr commit: a811cfc567]
2020-05-29 03:00:03 -04:00
Christophe Paquot 992fbe8215 Use a dedicated lock for last queued command set/get
Change-Id: If3d2144841c7863cf7afe2ca85aea62e0a3a33c7


[ROCm/clr commit: 0782acabb5]
2020-05-28 12:49:39 -07:00
Chauncey Hui 75e59b010a SWDEV-2 - Change OpenCL version number from 3149 to 3150
[ROCm/clr commit: eb5b2745e2]
2020-05-27 03:00:03 -04:00
Evgeny 288fd692b7 fixing a typo
Change-Id: I2fc113e1f52ae9356636ddd4597c36c822bed49b


[ROCm/clr commit: 4ffe859cee]
2020-05-26 14:49:27 -04:00
Chauncey Hui 8dbb57226d SWDEV-2 - Change OpenCL version number from 3148 to 3149
[ROCm/clr commit: 8b256dce4e]
2020-05-26 03:00:04 -04:00
German Andryeyev 3abb1347cf Revert "Revert "Reenable cooperative groups""
This reverts commit c6c208099b.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I93c45fae27e0a08b199542d44fb0d65fc74ea13c


[ROCm/clr commit: fb401bfe6d]
2020-05-25 14:11:58 -04:00
Chauncey Hui 4012d3ca48 SWDEV-2 - Change OpenCL version number from 3147 to 3148
[ROCm/clr commit: 3dc756341d]
2020-05-24 03:00:17 -04:00
kjayapra-amd c7b79be23d SWDEV-237467 - Adding return type to comply with -Wall compiler flag.
Change-Id: I3c9935105ef262cdbf1c8ee293930b018be0197a


[ROCm/clr commit: 3603272d24]
2020-05-23 14:22:54 -04:00
kjayapra-amd e44ec607ef FEAT-30761 - Fixing fall through in gfxip major/minor detection.
Change-Id: Ib97b3dbe993e01df3360cbeda6bd0d9d366535b6


[ROCm/clr commit: ea0137fb22]
2020-05-23 12:42:44 -04:00
kjayapra-amd bc4adeaf25 SWDEV-229840 - Just adding DDEV_LOG_ENABLE instead of assigning it to -1.
Change-Id: I6859bc55e6e82ffae66ca84ee686c7e76cd8b6f2


[ROCm/clr commit: df6994c3f9]
2020-05-23 11:00:34 -04:00
Chauncey Hui 76aeaba03e SWDEV-2 - Change OpenCL version number from 3146 to 3147
[ROCm/clr commit: 3588194e27]
2020-05-23 03:00:04 -04:00
kjayapra-amd c1e072980d SWDEV-237467 - Return proper hip error codes incase of ROCclr IPC API failures.
Change-Id: I1d018918ed71f6d80846b3017f7a15f4ab496554


[ROCm/clr commit: 53a890b499]
2020-05-22 22:10:15 -04:00
kjayapra-amd 0cbaf84fa6 SWDEV-236110 - Fixing uninitialized variable.
Change-Id: I26a2a6826da643b57da9746e3ce888a46c4e78f4


[ROCm/clr commit: 618d66b5fe]
2020-05-22 20:40:24 -04:00
kjayapra-amd 95d6ff1279 SWDEV-229840 - Remove false error messages.
Change-Id: I0346768a2a52913d5330bc2007a7706e2a439c47


[ROCm/clr commit: 32043017ed]
2020-05-22 18:18:41 -04:00
Matt Arsenault 39011c417d Export targets for find_package
Currently the opencl build hardcodes the path and directly includes
amdvdi_staticTargets.cmake. The proper way to find this is through
find_package, so start exporting the expected format.

Change-Id: Ic960a2dd467d57867cb96ab831dbd85bca336535


[ROCm/clr commit: 8988f34935]
2020-05-21 13:47:59 -04:00
Chauncey Hui 25a069ae3c SWDEV-2 - Change OpenCL version number from 3145 to 3146
[ROCm/clr commit: 17094415f7]
2020-05-21 03:00:06 -04:00
Aryan Salmanpour 009eed8763 check for valid queue before accessing cuMask()
Change-Id: I8d4b0dbcd097c2ec5c31dea5a3d0060f0864a7e8


[ROCm/clr commit: fec4adfd19]
2020-05-20 16:23:09 -04:00
German Andryeyev e6b1dc9771 Add missing memory allocation in printf
Change-Id: I452b676612b54f70106e7ef1bcb5ce2baf7b3ffc


[ROCm/clr commit: f56a052243]
2020-05-20 14:49:59 -04:00
Alex Xie 48068bdb89 Fix compile error in certain version of GCC
Change-Id: I27f021db908bf114a685427a47cd9f0d6b2e5693


[ROCm/clr commit: 966448c53b]
2020-05-20 13:13:55 -04:00
German Andryeyev e20f40119c Fix async mem clear
Optimization for the fence release removed a sync for mem fill.
Add simple const buffer management forr the filled pattern to avoid
pattern overwriting with the async fills.

Change-Id: I63773ac09ceec31d5396d24570e4647ff096326b


[ROCm/clr commit: 2ce6bbebc4]
2020-05-20 11:13:41 -04:00
Matt Arsenault 8789cbafa1 Don't add_subdirectory on a binary directory
This doesn't make sense and didn't do anything.

Change-Id: If6cbcd9269d8d45b091f100318afd3ab9ec6ceec


[ROCm/clr commit: a38144dec7]
2020-05-20 09:01:08 -04:00
Chauncey Hui d400543947 Modified IpcDetach to return status instead of void.
Change-Id: I68ed94b93f0383babe25eb046b4047d249a0fdc1


[ROCm/clr commit: 0af9c06968]
2020-05-20 03:38:21 -04:00
Chauncey Hui 593b1c8be7 SWDEV-2 - Change OpenCL version number from 3144 to 3145
[ROCm/clr commit: 60d6a28dc9]
2020-05-20 03:00:03 -04:00
Matt Arsenault d2cb056d06 Remove include/ from #includes
These are unnecessary and an obstacle to producing a relocatable
package.

Change-Id: I0059bf7a2d11fcece0cd7ab47d7545d0df4d7099


[ROCm/clr commit: 1d267c9c08]
2020-05-19 19:35:09 -04:00
Aakash Sudhanwa c6c208099b Revert "Reenable cooperative groups"
This reverts commit 7b00a525ba.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I8954b37c354382804a139d80e2551c381fd9b2ed


[ROCm/clr commit: abc115bda8]
2020-05-19 18:21:48 -04:00
Jason Tang d917bbfc73 SWDEV-236894 - Rename LOG_LEVEL to AMD_LOG_LEVEL
Change-Id: Ibdfaf0fb615ac343c05d0fa3c3ace9cbb592ecf3


[ROCm/clr commit: 49224d95c7]
2020-05-19 17:32:24 -04:00
Jason Tang f94e958680 Add major/minor/stepping to device layer
Change-Id: If82ea55a46b166b243a98089a6e9c40ccfdb479f


[ROCm/clr commit: cd2a713d63]
2020-05-17 12:57:34 -04:00
Chauncey Hui 75ae2a887e SWDEV-2 - Change OpenCL version number from 3143 to 3144
[ROCm/clr commit: 90c975224f]
2020-05-16 03:00:03 -04:00
Jason Tang 5101aa9867 Correct the way to get subtarget
Change-Id: I47805424c0bd69547cff0ab71c369552016052b5


[ROCm/clr commit: 9b5e1fec6c]
2020-05-15 17:18:39 -04:00
Matt Arsenault 01a1521a9c Remove empty file
Looks accidentally added

Change-Id: Ib7dce6ffe9c131b08674a1e304b561fbd940362e


[ROCm/clr commit: 8edad73f14]
2020-05-15 16:30:37 -04:00
Aryan Salmanpour dee687d2d7 Add support for setting CU mask on ROCclr for ROCm backend
Change-Id: I0dbe2eeb33467fc0f24b26929119c10e9b455da7


[ROCm/clr commit: fed94b8604]
2020-05-15 14:23:43 -04:00
German Andryeyev 7b00a525ba Reenable cooperative groups
Change-Id: Ia43049ef550bffa6d21704dbd306ddb9c1d56af0


[ROCm/clr commit: 82dc1a6343]
2020-05-15 12:41:12 -04:00
Christophe Paquot 23e520003c Use system scope for packet following sdma copies
SWDEV-234947
SWDEV-236298
Instead of forcing a barrier packet, just inject system scope on the next packet.

Change-Id: If9bcee23e08dfe5db731235e2fcb30582cbd4c1c


[ROCm/clr commit: 6a5af4056e]
2020-05-15 12:20:06 -04:00
Matt Arsenault 24cc417ec1 Fix missing target includes for GL/EGL headers
Change-Id: I9a31eae40cb7187dd0264ad5b9577fab96464b41


[ROCm/clr commit: 3624b8df16]
2020-05-14 16:56:34 -04:00
Chauncey Hui a03d2de818 SWDEV-2 - Change OpenCL version number from 3142 to 3143
[ROCm/clr commit: 345a8a89b3]
2020-05-14 03:00:03 -04:00
Matt Arsenault 26597f888a Improve usage of target_include_directories
Eliminates most of the global include_directories. The install header
paths are different from the build directory, so we have to separate
those for the exported target include paths.

Change-Id: I13e4c56c1218cb31c29a316422dc5fd1d09d8b1b


[ROCm/clr commit: 3a7f2e3682]
2020-05-13 17:25:58 -04:00
Vlad Sytchenko 6313310fa6 Load versioned comgr library
Change-Id: I4cc81f33e6889ac81a82747159bc210256f33c21


[ROCm/clr commit: 614aaa8409]
2020-05-13 16:46:35 -04:00
Matt Arsenault 49c251e518 Move top.hpp into include directory
This partially avoids a difference in the include paths between a
build and install tree, and simplifies the install configuration.

Change-Id: If8119507594e0d284ac08c141c6c51c88ec619ef


[ROCm/clr commit: 199f6114d0]
2020-05-13 16:30:43 -04:00
German Andryeyev 6e8e12b17c Set CPU access flag for SVM
Make sure all GPUs have CPU access flag for the fine grain buffer.

Change-Id: Ifc843c2807e70a271b269192ae7859205ff458f3


[ROCm/clr commit: 8904848abc]
2020-05-13 16:05:46 -04:00
Payam 5540e98745 adding HIP_ENABLE_LAZY_KERNEL_LOADING flag
Change-Id: Ia4425e00d97a25bcea656e2ade5cd3a5d92b4de6


[ROCm/clr commit: a3b730b595]
2020-05-13 13:06:55 -04:00
Chauncey Hui 274d09f879 SWDEV-2 - Change OpenCL version number from 3141 to 3142
[ROCm/clr commit: c15d217f1a]
2020-05-13 03:00:03 -04:00
German Andryeyev 59b9ef5df5 Disable cooperative groups support
Change-Id: I1b526f2228d083ecad7907a6eaf37c1dd4428277


[ROCm/clr commit: d2b9a57c4f]
2020-05-12 14:31:10 -04:00
Saleel Kudchadker c38c8e5c3d Add env var to toggle large bar support in runtime
Use ROC_ENABLE_LARGE_BAR (0/1) to toggle. The support is
enabled by default.

Change-Id: I6cb93a46594cb6f5e90bf6057738330225efb553


[ROCm/clr commit: d10d691e76]
2020-05-12 13:20:06 -04:00
Jason Tang e49bddae07 device/rocm: split gfxVersion to major/minor/stepping
Change-Id: I1e437eaee30794147713d9516229211670f01d90


[ROCm/clr commit: b4f1239f34]
2020-05-12 12:17:13 -04:00
kjayapra-amd 08036e1ffe SWDEV-232464 - Use Fstat to retrieve file size.
Change-Id: I4051645cd322c2afaf89e014452657db1a1fdc2c


[ROCm/clr commit: c97ef9f84a]
2020-05-12 08:53:51 -04:00
Chauncey Hui 76fff418bf SWDEV-2 - Change OpenCL version number from 3140 to 3141
[ROCm/clr commit: 81ed982f27]
2020-05-12 03:00:04 -04:00
German Andryeyev b5f464e2af Make sure the list of HSA agents is valid
If HIP_VISIBLE_DEVICES is active, then make sure the list of HSA
agents contains the valid agents

Change-Id: I584aad999a230ab7f88a0cfe20dcd0abe79c43a5


[ROCm/clr commit: ae4aceb55e]
2020-05-11 15:49:30 -04:00
jujiang ca678c2ffd SWDEV-230009-Cltrace log is not created as expected-fix build errors on windows
Change-Id: I9eaa15f39fff0f65858f4a0b8b43ef4288ea97b1


[ROCm/clr commit: bc9351f904]
2020-05-11 13:51:55 -04:00
Christophe Paquot f03339a1e2 Fix cooperative flag for hsa_queue creation in case they're not available
SWDEV-233766

Change-Id: If410ecfed61f2b3bb50b847cf2ededc573139494


[ROCm/clr commit: 3ed185307e]
2020-05-11 13:40:50 -04:00
Chauncey Hui 5aeb28a8e3 SWDEV-2 - Change OpenCL version number from 3139 to 3140
[ROCm/clr commit: da8c217e6f]
2020-05-09 03:00:03 -04:00