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
Jason Tang
8dffe9c8e6
SWDEV-269880 - Fix luxmark 3.1 segfaults
...
To workaround a bug in std::regex() implementation.
Change-Id: I4ea2b40e0b74ee1ee79d31283937e43d361d37c2
[ROCm/clr commit: 4791447370 ]
2021-02-01 16:12:36 -05:00
Alex Xie
c490930624
SWDEV-268914 - Linux, AMF, tests fail to scale images down
...
In pitch workaround, we need to copy the image to copy buffer
when application wants to read image to buffer. After this
patch, we unconditionally copy the image data to the copy buffer.
Change-Id: I71b0d19459542dfbb3ca51a2c8a3a81367fa2fb5
[ROCm/clr commit: 5330679473 ]
2021-02-01 15:22:15 -05:00
Joseph Greathouse
62fee66ff2
SWDEV-270773 - Fix workgroup calculation logic for GWS initialization
...
The existing workgroup calculation logic for GWS initialization is
incorrect. It tries to add together workgroups across dimensions,
leading to major under-count in 2D and 3D kernels. An (x,y,z) kernel
uses x * y * z blocks, not x + y + z.
In addition, the previous logic was incorrect for the case of launching
a single-threaded kernel. It calculated 0 workgroups, leading to
initializing GWS to -1.
Change-Id: I1bb20a0d5b6e0cc10ac55901c28d8f93aac61c09
[ROCm/clr commit: 54d1d69c0a ]
2021-01-31 01:16:48 -06:00
Chauncey Hui
5cf28c4843
SWDEV-2 - Change OpenCL version number from 3249 to 3250
...
[ROCm/clr commit: b7f0fd0354 ]
2021-01-29 03:00:06 -05:00
agodavar
f379ff60bd
SWDEV-269085 - Add support for build with ADDRESS_SANITIZER
...
Change-Id: I102cbe197727ec059d3dc9fae3a41bb559b0dff1
[ROCm/clr commit: eb58a0285c ]
2021-01-29 01:54:43 -05:00
Saleel Kudchadker
7a08212ce1
SWDEV-257787 - Add log for tracking copy signals
...
Change-Id: I713e8463916a85a634a1ec2309bbd46a11c461a8
[ROCm/clr commit: 629a2d8ef3 ]
2021-01-28 13:25:49 -05:00
Sarbojit Sarkar
962dff6a61
SWDEV-265469 - added constexpr constructor for dim3
...
Change-Id: I2e23a403f272d1ff0ade24fec11190d2f3244e5f
[ROCm/clr commit: cee3e1aa37 ]
2021-01-28 13:23:51 -05:00
Vladislav Sytchenko
95655fd5fd
SWDEV-268186 - [PAL] Enable MALL for persistent allocations
...
Change-Id: Ibc21255d5be52289cb4de3de7d12e0415fd1bc91
[ROCm/clr commit: 0d0739a39b ]
2021-01-28 12:47:18 -05:00
Vladislav Sytchenko
b8ce1cc059
SWDEV-1 - Update ISA table
...
Disable gfx9+ for GSL.
Enable gfx9+ (except MI100/200/300) for PAL.
Change-Id: Ic5a238af939e1d8795503aae39df6a6ece50a9d2
[ROCm/clr commit: 81e331dc42 ]
2021-01-28 11:26:22 -05:00
Vladislav Sytchenko
4987cc7052
SWDEV-1 - Fix Windows build
...
Change-Id: I20c727a8718941694da6dc024efdfd1eb6af828b
[ROCm/clr commit: f174d98893 ]
2021-01-28 10:22:25 -05:00
kjayapra-amd
4693ecf345
SWDEV-270013 - Adding code to differentiate between kern_arg + fine_grain and fine_grain segment of system memory.
...
Change-Id: Id0404b2dab8561946ad0a90a77030582f7e021a4
[ROCm/clr commit: 85fafb0561 ]
2021-01-28 09:48:17 -05:00
kjayapra-amd
552218f005
SWDEV-261215 - Updating file handle APIs with file sharing option to accomodate back to back hipModuleLoad calls.
...
Change-Id: I8fd833b678ca38c60e2d7d02295fd01df0af5592
[ROCm/clr commit: e8208de6c1 ]
2021-01-28 09:47:41 -05:00
kjayapra-amd
81c1c29bc4
SWDEV-270007 - Fixing the hipMemoryAllocateCoherent test binary path for hipMemoryAllocateCoherentDriver test path.
...
Change-Id: Iae5363685d10fce32ff80ac5d6bfba460dc2b574
[ROCm/clr commit: d13124d90f ]
2021-01-28 09:47:01 -05:00
Satyanvesh Dittakavi
14be9b54a2
SWDEV-269784 - managed memory support for HIP CUDA
...
Change-Id: I01f9fc64573f402031eceab24395e5cbd93007f9
[ROCm/clr commit: 0074429d05 ]
2021-01-28 07:51:52 -05:00
agodavar
4017a88253
SWDEV-269400 - handle nullptr in hipFuncGetAttributes and blockSizeLimit<0 in hipModuleOccupancyMaxPotentialBlockSize
...
Change-Id: Ia1c6e5713f40876b4a9c7a1c56b7b3a589c4497a
[ROCm/clr commit: 160f0edffa ]
2021-01-27 23:41:31 -05:00
agodavar
3cd436f7a4
SWDEV-270198 - hip-hcc cleanup remove lpl_ca
...
Change-Id: I6cae9435397e9070efb4a953c7ba8bd3dcd98c0e
[ROCm/clr commit: 6e7ff3aaae ]
2021-01-27 23:40:58 -05:00
agodavar
53a0b62f82
SWDEV-268552 - HIP sample segfaults during hipModuleLoad, fix mmap bug
...
Change-Id: I51c6061e7ac6b2524586d96fdd69b9f084b1906a
[ROCm/clr commit: 2d2f127b8a ]
2021-01-27 23:39:50 -05:00
Rahul Garg
447657f32d
SWDEV-270166 - Remove Linux specific includes
...
Change-Id: I929285941f28941cb41718f9fb8f618d11f1a69b
[ROCm/clr commit: fecaab1179 ]
2021-01-27 12:10:37 -05:00