Commit Graph

13474 Commits

Author SHA1 Message Date
Chauncey Hui 9900b46c21 SWDEV-2 - Change OpenCL version number from 3258 to 3259 2021-02-17 03:00:07 -05:00
Sarbojit Sarkar ed7f4560cf SWDEV-272769 - Enabled gcc based hip test
Change-Id: I48bc850df00848bf11de71e3f614273111d31b47
2021-02-16 21:20:00 -05:00
Jason Tang d21913f140 SWDEV-268345 - Remove ADDRESS_SANITIZER option from cmake
DevOps is going to add this through build scripts.

Change-Id: Id48ac9c1729d60f337e4cb7f0203822a05038e5e
2021-02-16 18:31:07 -05:00
Jason Tang 82c6aabb0a SWDEV-268345 - Remove ADDRESS_SANITIZER option from cmake
DevOps is going to add this through build script.

Change-Id: I536d691ea8c05d8289bad1448cac532a8ef93cc4
2021-02-16 17:37:48 -05:00
Vladislav Sytchenko 671778bdd3 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
2021-02-16 17:19:57 -05:00
German Andryeyev 4dc90dae10 SWDEV-273071 - add mipmaps detection for FillImage
If mipmap was detected, then create a view with single mip level

Change-Id: I4519b35bd0365c108c42fdb37bfaad729dbc684e
2021-02-16 16:19:28 -05:00
Jason Tang c65be06c4c SWDEV-265304 - Disable GFX8 in LinuxPro ROCr build
Change-Id: Ia26bb025a133a4acb255a539a45668975019cc6e
2021-02-16 13:32:47 -05:00
Vladislav Sytchenko ac237ac094 SWDEV-271486 - [PAL] Temporarily disable reporting sramecc support
Change-Id: I089af8f8a4645ce5353f351dbf3a018cd31df216
2021-02-16 10:39:18 -05:00
Vladislav Sytchenko 660e543f49 SWDEV-270013 - Fix Windows build
Change-Id: I9573ef8b9d94367b8fa1dd90d40a93ddc4992f18
2021-02-16 10:03:51 -05:00
Tao Sang 5039649dd4 SWDEV-272089 - Fix concurrent memory test failure on CUDA
Change-Id: Ibf35c789d6bd4279bdcedba1a6e057639c258489
2021-02-16 10:00:23 -05:00
Jatin Chaudhary 3f6bf4c260 SWDEV-268531 - Fixing shadow variable warning in vector_types
Change-Id: Ic57e22853529a953582c9194d09133a5aab989aa
2021-02-16 06:51:37 -05:00
Chauncey Hui a1b21ae7d2 SWDEV-2 - Change OpenCL version number from 3257 to 3258 2021-02-16 03:00:08 -05:00
Maneesh Gupta 42ab466904 SWDEV-271416 - Keep HIP_DYNAMIC_SHARED macro for compat with existing HIP apps
Change-Id: I536e0c65d6e8696cbc369082350834abd710abca
2021-02-16 00:09:48 -05:00
Ravi C Akkenapally 0a5f9a3b10 SWDEV-179105 - Stream Operations: Add support for Wait and Write
Change-Id: Ibffa1d6d573826b64763da280074a77271d66808
2021-02-15 17:02:38 -08:00
kjayapra-amd 2df099df9e SWDEV-270013 - Allocate kernel_arguments from kern_arg & finegrain pool instead of coarse grain.
Change-Id: Id4c6977934fdd6ef2311f6e75593801f1e51983c
2021-02-15 18:20:08 -05:00
Saleel Kudchadker 0f14c54c04 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
2021-02-15 10:28:06 -08:00
Rupam Chetia 05409f05d0 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
2021-02-15 06:41:24 -05:00
Chauncey Hui 196fada9c8 SWDEV-2 - Change OpenCL version number from 3256 to 3257 2021-02-13 03:00:07 -05:00
Rahul Garg 607795ec9d SWDEV-271182 - Fix HdpMemFlushCntl and HdpMemFlushCntl
Change-Id: I33e5a677c6c6e1d83e6343f8e3690d7b34fe2af5
2021-02-12 14:38:56 -05:00
Sarbojit Sarkar 3f5fb8e9df SWDEV-270630 - Added missing nullcheck
Change-Id: I7caf26c59c4660e26b4159da35731c2ce1600819
2021-02-12 13:29:30 -05:00
Sarbojit Sarkar b7fd0bc902 SWDEV-271496 - Added missing params check
Change-Id: I17bbf5ed445826e7380df22fa5c6ec1675e208d6
2021-02-12 13:28:12 -05:00
German Andryeyev 70f06c79fa SWDEV-86035 - switch PAL interface to 656 version
Change-Id: I162ba6e49aa866c013f37a114df5bb7ea3e08874
2021-02-12 13:08:59 -05:00
Maneesh Gupta 18234e1d24 SWDEV-269351 - Revert "Implement assert() using the new fprintf_stderr facility"
This reverts commit 2cac768a07.

Reverting since this is dependent on a device libs change which is not yet in mainline.

Change-Id: I094781b868f39995d1eecb41488c1a1a0147b787
2021-02-12 03:46:17 -05:00
Chauncey Hui 272e29a1cd SWDEV-2 - Change OpenCL version number from 3255 to 3256 2021-02-12 03:00:07 -05:00
Tao Sang be4ed34a08 SWDEV-264220 - Support package install of hip-lang
Change-Id: Ibf34c789d6bd4278adcedba1a6e057639c258488
2021-02-11 15:41:54 -05:00
German Andryeyev e7c636c5e7 SWDEV-86035 - Enable PAL for gfx8
Change-Id: Ia6623993e44aeb4bdf317628ee8a84af6c4cacc7
2021-02-11 14:25:43 -05:00
Payam a2e0b0495c SWDEV-257937 - Updated fix for ROC_BARRIER_SYNC=0
Change-Id: I7e28e541b654db57fb0890d7dbb7519cfb2d93db
2021-02-11 14:01:45 -05:00
German Andryeyev fb142e7b2f SWDEV-271806 - Disable pinning for views.
Only parent object should pin system memory

Change-Id: Ic9a0a34e3aff2263501c564c3cebd33f4f7e2455
2021-02-11 13:05:58 -05:00
Vladislav Sytchenko ee1ec3258d SWDEV-252745 - Fix uninitialized variable
Change-Id: I9167dc3c85779771a44626f2f88eec4134c5a5ad
2021-02-11 10:26:38 -05:00
Chauncey Hui 91ba74f314 SWDEV-2 - Change OpenCL version number from 3254 to 3255 2021-02-11 03:00:07 -05:00
Vladislav Sytchenko 9f84ea96be SWDEV-252745 - Guard PCH code behind __HIP_ENABLE_PCH macro
Change-Id: I12425b9d44b3d92f9cacceb797a5d09d99e4156b
2021-02-10 09:23:41 -08:00
Rahul Garg df0b14ff47 SWDEV-271182 - Fix HdpMemFlushCntl and HdpRegFlushCntl
Change-Id: Ib690b475c2c4514c862ded5fc2bdd1049e27bd46
2021-02-10 11:40:35 -05:00
Zack Galbreath ddb061cecf 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
2021-02-10 08:26:35 -05:00
Chauncey Hui de52aa7e7c SWDEV-2 - Change OpenCL version number from 3253 to 3254 2021-02-10 03:00:06 -05:00
cjatin 5cfea2981b SWDEV-252745 - Adding precompiled headers to build option
Change-Id: Iab03e8a75215d80c91817ee0227d034fefa9dfad
2021-02-09 23:33:55 -05:00
cjatin caf9b2b108 SWDEV-252745 - Adding rtc options transformer
Change-Id: Ib250689906a35f81255398e53da979774361dbfa
2021-02-09 13:35:30 -05:00
cjatin d9496c149b SWDEV-269879 - Adding function that recommends optimal thread count
Change-Id: I42eb94a058c1b7f9253182e16ff1c3389a836d61
2021-02-09 13:34:08 -05:00
cjatin 9a2e762ccb SWDEV-268531 - Fixing shadow varible warning seen with hip vector usage
Change-Id: I9e20a41e74e473b328cc173f2c27b06352128c88
2021-02-09 13:33:12 -05:00
German Andryeyev 6966d8098e 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
2021-02-09 12:57:12 -05:00
agodavar 8f85d89812 SWDEV-271096 - Handle depth zero in hipMalloc3D
Change-Id: I0ef0cc825e20b3480e9e5476e09dde5f73cdd3ea
2021-02-09 08:39:44 -05:00
Jatin Chaudhary 7b6244b641 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
2021-02-09 07:59:32 -05:00
Chauncey Hui 12e92b603e SWDEV-2 - Change OpenCL version number from 3252 to 3253 2021-02-09 03:00:06 -05:00
Satyanvesh Dittakavi 45e5d6aa67 SWDEV-269439 - Fix dtests build failure on HIP CUDA
Change-Id: Ibdba5d364df1bcd3b9e158e22a602dd993044d7a
2021-02-08 17:09:49 -05:00
Vladislav Sytchenko 738fd1d24b SWDEV-232428 - Use std atomics
Change-Id: Ieca85738621d056e612faf4de1e2011a817b8965
2021-02-08 16:50:41 -05:00
Tao Sang a6176099cf 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
2021-02-08 14:33:04 -05:00
Julia Jiang e4fdbfcf5b SWDEV-271416 - Remove HIP_DYNAMIC_SHARED macro in hip
Change-Id: I12f39ea8438eb7ce76d8ffb2151b4faa93689048
2021-02-08 13:17:46 -05:00
German Andryeyev 47f8d55313 SWDEV-271888 - Remove an explanation link
Change-Id: I157adac7a248d50ee8db677c19be20c00fcd5ecc
2021-02-05 17:28:28 -05:00
Chauncey Hui c82cda6a7c SWDEV-2 - Change OpenCL version number from 3251 to 3252 2021-02-04 03:00:06 -05:00
Tao Sang 1338ebde58 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
2021-02-03 21:31:26 -05:00
Aaron En Ye Shi e4c1c79b2b 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
2021-02-03 19:41:35 +00:00