Vladislav Sytchenko
086bdf83b4
SWDEV-232428 - Push hostcall implementation to the device layer
...
This change unifies the hostcall implementation for all the backends,
by pushing the common logic to the device layer. This is done by
replacing the use of hsa_signal_t with device::Signal (a light wrapper
around it).
Change-Id: I7b6fca7930b5a0b199da5d85e2e048354cc04e7b
[ROCm/clr commit: 671778bdd3 ]
2021-02-16 17:19:57 -05:00
German Andryeyev
feed6a4b45
SWDEV-273071 - add mipmaps detection for FillImage
...
If mipmap was detected, then create a view with single mip level
Change-Id: I4519b35bd0365c108c42fdb37bfaad729dbc684e
[ROCm/clr commit: 4dc90dae10 ]
2021-02-16 16:19:28 -05:00
Jason Tang
ac06dab550
SWDEV-265304 - Disable GFX8 in LinuxPro ROCr build
...
Change-Id: Ia26bb025a133a4acb255a539a45668975019cc6e
[ROCm/clr commit: c65be06c4c ]
2021-02-16 13:32:47 -05:00
Vladislav Sytchenko
42c3dc5c6e
SWDEV-271486 - [PAL] Temporarily disable reporting sramecc support
...
Change-Id: I089af8f8a4645ce5353f351dbf3a018cd31df216
[ROCm/clr commit: ac237ac094 ]
2021-02-16 10:39:18 -05:00
Vladislav Sytchenko
27fea99659
SWDEV-270013 - Fix Windows build
...
Change-Id: I9573ef8b9d94367b8fa1dd90d40a93ddc4992f18
[ROCm/clr commit: 660e543f49 ]
2021-02-16 10:03:51 -05:00
Tao Sang
18ec4c7268
SWDEV-272089 - Fix concurrent memory test failure on CUDA
...
Change-Id: Ibf35c789d6bd4279bdcedba1a6e057639c258489
[ROCm/clr commit: 5039649dd4 ]
2021-02-16 10:00:23 -05:00
Jatin Chaudhary
3c08aece90
SWDEV-268531 - Fixing shadow variable warning in vector_types
...
Change-Id: Ic57e22853529a953582c9194d09133a5aab989aa
[ROCm/clr commit: 3f6bf4c260 ]
2021-02-16 06:51:37 -05:00
Chauncey Hui
38e1d0d596
SWDEV-2 - Change OpenCL version number from 3257 to 3258
...
[ROCm/clr commit: a1b21ae7d2 ]
2021-02-16 03:00:08 -05:00
Maneesh Gupta
60f4dcc336
SWDEV-271416 - Keep HIP_DYNAMIC_SHARED macro for compat with existing HIP apps
...
Change-Id: I536e0c65d6e8696cbc369082350834abd710abca
[ROCm/clr commit: 42ab466904 ]
2021-02-16 00:09:48 -05:00
Ravi C Akkenapally
6629930067
SWDEV-179105 - Stream Operations: Add support for Wait and Write
...
Change-Id: Ibffa1d6d573826b64763da280074a77271d66808
[ROCm/clr commit: 0a5f9a3b10 ]
2021-02-15 17:02:38 -08:00
kjayapra-amd
4583cbafee
SWDEV-270013 - Allocate kernel_arguments from kern_arg & finegrain pool instead of coarse grain.
...
Change-Id: Id4c6977934fdd6ef2311f6e75593801f1e51983c
[ROCm/clr commit: 2df099df9e ]
2021-02-15 18:20:08 -05:00
Saleel Kudchadker
4da1282882
SWDEV-272673 - Add changes to dump log to a file
...
Env var AMD_LOG_LEVEL_FILE would dump the log to file.
Change-Id: I6add4a1ae6788f376ce116797cc0573007502e73
[ROCm/clr commit: 0f14c54c04 ]
2021-02-15 10:28:06 -08:00
Rupam Chetia
22c580bac8
SWDEV-238517 - [dtest] Test for Multiple Target Architecture Code Object
...
Added a test to generate a code object for multiple target
architectures (including for the current device),
load and execute the kernel.
SWDEV-238517 for enhancing hip unit tests
Change-Id: I509d01124abdc0495cfc770ab5508738f108c91c
[ROCm/clr commit: 05409f05d0 ]
2021-02-15 06:41:24 -05:00
Chauncey Hui
d88ef70a57
SWDEV-2 - Change OpenCL version number from 3256 to 3257
...
[ROCm/clr commit: 196fada9c8 ]
2021-02-13 03:00:07 -05:00
Rahul Garg
e78e7b8abc
SWDEV-271182 - Fix HdpMemFlushCntl and HdpMemFlushCntl
...
Change-Id: I33e5a677c6c6e1d83e6343f8e3690d7b34fe2af5
[ROCm/clr commit: 607795ec9d ]
2021-02-12 14:38:56 -05:00
Sarbojit Sarkar
8a48c8a0e0
SWDEV-270630 - Added missing nullcheck
...
Change-Id: I7caf26c59c4660e26b4159da35731c2ce1600819
[ROCm/clr commit: 3f5fb8e9df ]
2021-02-12 13:29:30 -05:00
Sarbojit Sarkar
3c1920f76c
SWDEV-271496 - Added missing params check
...
Change-Id: I17bbf5ed445826e7380df22fa5c6ec1675e208d6
[ROCm/clr commit: b7fd0bc902 ]
2021-02-12 13:28:12 -05:00
German Andryeyev
64360211fe
SWDEV-86035 - switch PAL interface to 656 version
...
Change-Id: I162ba6e49aa866c013f37a114df5bb7ea3e08874
[ROCm/clr commit: 70f06c79fa ]
2021-02-12 13:08:59 -05:00
Maneesh Gupta
125de2dbe6
SWDEV-269351 - Revert "Implement assert() using the new fprintf_stderr facility"
...
This reverts commit 10af608c66 .
Reverting since this is dependent on a device libs change which is not yet in mainline.
Change-Id: I094781b868f39995d1eecb41488c1a1a0147b787
[ROCm/clr commit: 18234e1d24 ]
2021-02-12 03:46:17 -05:00
Chauncey Hui
705311fb14
SWDEV-2 - Change OpenCL version number from 3255 to 3256
...
[ROCm/clr commit: 272e29a1cd ]
2021-02-12 03:00:07 -05:00
Tao Sang
a74b4c76fd
SWDEV-264220 - Support package install of hip-lang
...
Change-Id: Ibf34c789d6bd4278adcedba1a6e057639c258488
[ROCm/clr commit: be4ed34a08 ]
2021-02-11 15:41:54 -05:00
German Andryeyev
b5e80a048a
SWDEV-86035 - Enable PAL for gfx8
...
Change-Id: Ia6623993e44aeb4bdf317628ee8a84af6c4cacc7
[ROCm/clr commit: e7c636c5e7 ]
2021-02-11 14:25:43 -05:00
Payam
72b49f0800
SWDEV-257937 - Updated fix for ROC_BARRIER_SYNC=0
...
Change-Id: I7e28e541b654db57fb0890d7dbb7519cfb2d93db
[ROCm/clr commit: a2e0b0495c ]
2021-02-11 14:01:45 -05:00
German Andryeyev
1ac2b818e6
SWDEV-271806 - Disable pinning for views.
...
Only parent object should pin system memory
Change-Id: Ic9a0a34e3aff2263501c564c3cebd33f4f7e2455
[ROCm/clr commit: fb142e7b2f ]
2021-02-11 13:05:58 -05:00
Vladislav Sytchenko
4f2684594f
SWDEV-252745 - Fix uninitialized variable
...
Change-Id: I9167dc3c85779771a44626f2f88eec4134c5a5ad
[ROCm/clr commit: ee1ec3258d ]
2021-02-11 10:26:38 -05:00
Chauncey Hui
47943e9f73
SWDEV-2 - Change OpenCL version number from 3254 to 3255
...
[ROCm/clr commit: 91ba74f314 ]
2021-02-11 03:00:07 -05:00
Vladislav Sytchenko
69e9b5c0ee
SWDEV-252745 - Guard PCH code behind __HIP_ENABLE_PCH macro
...
Change-Id: I12425b9d44b3d92f9cacceb797a5d09d99e4156b
[ROCm/clr commit: 9f84ea96be ]
2021-02-10 09:23:41 -08:00
Rahul Garg
ff35f82881
SWDEV-271182 - Fix HdpMemFlushCntl and HdpRegFlushCntl
...
Change-Id: Ib690b475c2c4514c862ded5fc2bdd1049e27bd46
[ROCm/clr commit: df0b14ff47 ]
2021-02-10 11:40:35 -05:00
Zack Galbreath
f3369ee1d8
SWDEV-264220 - Provide CMake hip language configuration information
...
This provides the required information for CMake to bootstrap
HIP language and runtime support. In particular this file
is consumed by CMake during HIP compiler detection to
determine the required flags needed for compilation and
linking.
Initial design was discussed in #2158
Add copyright / license header
Change-Id: I10acb860bf6291b2deb6b678e6e916faa7c82c2a
[ROCm/clr commit: ddb061cecf ]
2021-02-10 08:26:35 -05:00
Chauncey Hui
28eacbf594
SWDEV-2 - Change OpenCL version number from 3253 to 3254
...
[ROCm/clr commit: de52aa7e7c ]
2021-02-10 03:00:06 -05:00
cjatin
43a470093d
SWDEV-252745 - Adding precompiled headers to build option
...
Change-Id: Iab03e8a75215d80c91817ee0227d034fefa9dfad
[ROCm/clr commit: 5cfea2981b ]
2021-02-09 23:33:55 -05:00
cjatin
c31897edcf
SWDEV-252745 - Adding rtc options transformer
...
Change-Id: Ib250689906a35f81255398e53da979774361dbfa
[ROCm/clr commit: caf9b2b108 ]
2021-02-09 13:35:30 -05:00
cjatin
c2216ca46f
SWDEV-269879 - Adding function that recommends optimal thread count
...
Change-Id: I42eb94a058c1b7f9253182e16ff1c3389a836d61
[ROCm/clr commit: d9496c149b ]
2021-02-09 13:34:08 -05:00
cjatin
5fe210011e
SWDEV-268531 - Fixing shadow varible warning seen with hip vector usage
...
Change-Id: I9e20a41e74e473b328cc173f2c27b06352128c88
[ROCm/clr commit: 9a2e762ccb ]
2021-02-09 13:33:12 -05:00
German Andryeyev
e60c7aa890
SWDEV-269654 - Fix HIP stream busy query
...
- Avoid GPU wait on the marker submission and update the command
batch after HSA signal callback upon HSA barrier completion.
Change-Id: I5c1c97212aefc2ae4b99aa9e2a81627ee9a38c1c
[ROCm/clr commit: 6966d8098e ]
2021-02-09 12:57:12 -05:00
agodavar
390565d4b7
SWDEV-271096 - Handle depth zero in hipMalloc3D
...
Change-Id: I0ef0cc825e20b3480e9e5476e09dde5f73cdd3ea
[ROCm/clr commit: 8f85d89812 ]
2021-02-09 08:39:44 -05:00
Jatin Chaudhary
3de1a22c48
SWDEV-271274 - Remove hip init call from hipUnregisterBinary, this call ends up initializing rocclr and hsa even when there is no hip call in the entire file
...
Change-Id: I20c1d3079c6032d79c5b892d5616921f7aeb4fe2
[ROCm/clr commit: 7b6244b641 ]
2021-02-09 07:59:32 -05:00
Chauncey Hui
c039f3fc2c
SWDEV-2 - Change OpenCL version number from 3252 to 3253
...
[ROCm/clr commit: 12e92b603e ]
2021-02-09 03:00:06 -05:00
Satyanvesh Dittakavi
7e95883cfc
SWDEV-269439 - Fix dtests build failure on HIP CUDA
...
Change-Id: Ibdba5d364df1bcd3b9e158e22a602dd993044d7a
[ROCm/clr commit: 45e5d6aa67 ]
2021-02-08 17:09:49 -05:00
Vladislav Sytchenko
ac5394299f
SWDEV-232428 - Use std atomics
...
Change-Id: Ieca85738621d056e612faf4de1e2011a817b8965
[ROCm/clr commit: 738fd1d24b ]
2021-02-08 16:50:41 -05:00
Tao Sang
a1c44ebfac
SWDEV-271406 - Remove unecessary hip_ext.h
...
tests/src/runtimeApi/module/hipModuleLaunchKernel.cpp doesn't
need hip_ext.h which will fail cuda building. So remove it
Change-Id: Icf5763449ccec839d9efda90ffe3a86fb53bdb85
[ROCm/clr commit: a6176099cf ]
2021-02-08 14:33:04 -05:00
Julia Jiang
0e20fbfbec
SWDEV-271416 - Remove HIP_DYNAMIC_SHARED macro in hip
...
Change-Id: I12f39ea8438eb7ce76d8ffb2151b4faa93689048
[ROCm/clr commit: e4fdbfcf5b ]
2021-02-08 13:17:46 -05:00
German Andryeyev
d43cf72481
SWDEV-271888 - Remove an explanation link
...
Change-Id: I157adac7a248d50ee8db677c19be20c00fcd5ecc
[ROCm/clr commit: 47f8d55313 ]
2021-02-05 17:28:28 -05:00
Chauncey Hui
d94bfc6d91
SWDEV-2 - Change OpenCL version number from 3251 to 3252
...
[ROCm/clr commit: c82cda6a7c ]
2021-02-04 03:00:06 -05:00
Tao Sang
32e178cbca
SWDEV-271363 - Fix undefined HIP_VERSION_GITDATE
...
HIP_VERSION_GITDATE won't be defined when git isn't
installed. This will lead to building failure of
deviceLib.hipVersion. When git isn't installed, set
HIP_VERSION_GITDATE as 0 by default.
Change-Id: Icf5763449ccec833d9efda90ffe3a86fb53bdb82
[ROCm/clr commit: 1338ebde58 ]
2021-02-03 21:31:26 -05:00
Aaron En Ye Shi
0d3576fe7f
SWDEV-263964 - Fix hipcc --hip-device-lib-path
...
On Windows, there may be spaces in the directory
location. Therefore, must add quotes when adding
this path with a location in C:/Program Files/.
Change-Id: I63642093092e25a2f6ed73b55a7afd16835ac736
[ROCm/clr commit: e4c1c79b2b ]
2021-02-03 19:41:35 +00:00
Julia Jiang
b9256275ad
SWDEV-271125 - update ROCclr readme
...
Change-Id: Icc3df1eca16c685d5ab1c74bebf37bbf169841c0
[ROCm/clr commit: 699b61b5c1 ]
2021-02-02 17:20:46 -05:00
Julia Jiang
1e374d5abe
SWDEV-271131 - update opencl readme
...
Change-Id: I6ffcde28f11f1d73a78b0a837a41992114415f31
[ROCm/clr commit: f5e6934216 ]
2021-02-02 13:22:37 -05:00
Satyanvesh Dittakavi
04e2083378
SWDEV-269440 - Fix build error in HIP-CUDA path
...
Change-Id: Icf5763449ccec333d9efda90ffe3a86fb53bdb81
[ROCm/clr commit: 4d61107615 ]
2021-02-02 05:40:31 -05:00
Chauncey Hui
c94aabfa88
SWDEV-2 - Change OpenCL version number from 3250 to 3251
...
[ROCm/clr commit: 20ab999164 ]
2021-02-02 03:00:06 -05:00