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

5953 Коммитов

Автор SHA1 Сообщение Дата
Rahul Garg b9bae02fa1 SWDEV-266973 - Add missing HIP_RETURN
Change-Id: Ib569a8cb030179b71406d47fd08c7e1e7ab6eb7c


[ROCm/hip commit: 429b4ffd1f]
2021-04-27 19:55:28 -04:00
Rahul Garg 60547b8830 SWDEV-280672 - Support HIP_PLATFORM=hcc in hipcc with warning
Change-Id: I6b199ea5ebed828a7f82c20d50fdf0fcfb887a64


[ROCm/hip commit: 3ef911cb14]
2021-04-27 19:53:56 -04:00
Aaron En Ye Shi 3fcf5799ed SWDEV-222423 - Add HIP Sample 2_Cookbook/15_static_library
HIP supports emitting two types of static libraries. One type
will export host functions and is compatible with host linkers.
The second type exports device functions, but is generated with
ar manually. Also, add a README with steps on how to run these
samples with Makefile or CMake.

Change-Id: I1be15c2884583b370092bc8e4bf04f726f8f5a27


[ROCm/hip commit: cfcf04d502]
2021-04-27 16:05:15 -04:00
Julia Jiang 91c7127abb SWDEV-208837 - add host allocation Numa aware
Change-Id: I9516b1a7411695d22038e0a3657822ee453ed709


[ROCm/hip commit: a3fd92ba5f]
2021-04-27 10:45:57 -04:00
Satyanvesh Dittakavi 1b4f397904 SWDEV-281062 - Modify the IPC tests
Remove hipSimpleIpcMem.cpp as the IPC APIs are expected to work
with different processes and not the same process. Also, modify
the hipMultiProcIpcMem.cpp to test the offset scenarios
Change-Id: Ia161fc9ab39e27f22d8ef7268e0d7669ece5cdce

Change-Id: Ic3cb79ef4aca40b4a504483eb81fd83bb8a201d9


[ROCm/hip commit: 3a6324f5d1]
2021-04-27 01:19:08 -04:00
German Andryeyev c7e4a8c30a SWDEV-240804 - Check the managed capability
Some system have HMM disabled. Check the capability before running the test.

Change-Id: I098d04d87c12ec317b4cb57e121e702b6bba03bc


[ROCm/hip commit: b777f4f010]
2021-04-26 14:10:57 -04:00
German Andryeyev 97629f4f94 SWDEV-244287 - Keep direct dispatch for Linux only
Change-Id: I09333bb40d239cb42c732df5ea16d17eeaeff5e6


[ROCm/hip commit: a18c778a83]
2021-04-26 14:10:57 -04:00
Satyanvesh Dittakavi 14089a9815 SWDEV-281789 - Add missing HMM attributes on CUDA path
Change-Id: I11167eea006301e01a1f91708bf6d0ac832d8b7f


[ROCm/hip commit: fe1268b082]
2021-04-26 13:54:01 -04:00
Yaxun (Sam) Liu cf0ea7f202 SWDEV-255234 - remove workaround for warpSize after clang fix is released
The workaround is no longer needed as the compiler emits the macro itself.

Change-Id: I6a06e73353628bcea71f6bd23503ab6d8e42a29d


[ROCm/hip commit: bf6b451ae3]
2021-04-26 08:49:15 -04:00
German Andryeyev f452102fc2 SWDEV-244287 - enable direct dispatch by default
Change-Id: If506566624a218a2dd443b794c5c400bd0b9ebf7


[ROCm/hip commit: cba1544a8d]
2021-04-24 02:33:46 -04:00
DURGESH KROTTAPALLI 88ca345e3a SWDEV-273550 - Add Directed Tests for HIP APIs
[dtest] Tests for hipMemcpy2DFromArray
        and hipMemcpy2DFromArrayAsync APIs

1. Negative scenarios for both the APIs
2. Functional size check scenarios for both APIs
3. Invoke the API from Peer Device Context
4. Simple scenarios for both APIs
5. Pinned Host Memory from same & multi GPU

Change-Id: I80c84ec3f9722d18683d31be65caa1bd64054da6


[ROCm/hip commit: b36936645d]
2021-04-23 13:07:08 -04:00
Sarbojit Sarkar b99f1cb493 SWDEV-282405 - Fix for rocFFT build issue
Change-Id: I39d1823ac6ea1d61610b9ff9153a6d0e91426fc8


[ROCm/hip commit: f4d1444d4a]
2021-04-23 01:18:56 -04:00
Yaxun (Sam) Liu 416d9fbfb6 SWDEV-283048 - Fix hipTestFMA
This test is incorrect about _Float16 overloading. Need to keep the test
passing for both old and new compiler until the compiler change is in
mainline.

Change-Id: I2f9be8957282fd0579c74f1e9f23e65c4484f3a2


[ROCm/hip commit: 6eabbc83f7]
2021-04-22 15:07:16 -04:00
Rahul Garg b384753745 SWDEV-229520 - Reenable hipEventIpc test
Change-Id: Ib40fb07a07cc447182e23664573c5e37a1194a32


[ROCm/hip commit: f2c96993e1]
2021-04-21 13:55:15 -04:00
Anusha GodavarthySurya 3eb15d6360 SWDEV-282361 - HIP support for NVRTC
Change-Id: I82869af8194b595f9a2fb64ad034630786189335


[ROCm/hip commit: 4de1bfafcc]
2021-04-20 09:28:58 -07:00
Anusha GodavarthySurya d843a89be7 SWDEV-240806 - [hip-graph] hip_memory and hip_kernel separate command creation from enqueue
hipMemcpy1D all variants, hipMemcpy3D, hipMemset, hipMemset3D and hipLaunchKernel

Change-Id: Ieeb767cf87aa0546bc3b3d5d2e01ab618e0d285c


[ROCm/hip commit: d86b4696ca]
2021-04-20 11:04:42 -04:00
Tao Sang abcbcee510 SWDEV-279657 - Fix hipMallocManaged-N256M failure
Add concurrentManagedAccess detection in hipMallocManaged test.
Skip test when device doesn't support concurrentManagedAccess.

Change-Id: Ie54046feef3baba857a7068972ec1fc1a60c2dfd


[ROCm/hip commit: 60e2b1299c]
2021-04-20 09:07:31 -04:00
sumanthtg 63ae7621ae SWDEV-238517 - [dtest] Additional Tests for hipHostMalloc()
New Tests added for
 - hipHostMalloc() api.

SWDEV-238517 for enhancing hip unit tests

Change-Id: Id237ab6cd2445216cd7bd9b8189c22a36ad66b7c


[ROCm/hip commit: 9c86e4a8f5]
2021-04-20 00:44:30 -04:00
Sourabh Betigeri 4c043fc89f SWDEV-256723 - Added group partitioning feature in ROCm CG.
Change-Id: Ie54046feef3baba857a7068972ec1fc0a60c2df9


[ROCm/hip commit: 70af64121b]
2021-04-19 18:53:17 -04:00
German Andryeyev 26cd292f55 SWDEV-278896 - Notify GPU about possible wait
Early notification allows CPU command state to be processed earlier.
Otherwise state update will be delayed until the actual possible
wait.

Change-Id: I0e9d6c2ad88e3723eab2f6dc9a20f288f6c1ca0c


[ROCm/hip commit: 9fc0bddbf0]
2021-04-19 13:00:16 -04:00
DURGESH KROTTAPALLI 38ddfaefbb SWDEV-273550 - Tests for hipMemcpyAtoH and HtoA
[dtest] Tests for hipMemcpyAtoH & hipMemcpyHtoA APIs

1. hipMemcpyAtoH/hipMemcpyHtoA negative scenarios
2. hipMemcpyAtoH/hipMemcpyHtoA Functional scenarios

Change-Id: Iec5b339db7fdde2592390c1f56ab6cf31131d4c8


[ROCm/hip commit: 03a0c84ad4]
2021-04-19 08:48:15 -04:00
Julia Jiang 76aa3fbde4 SWDEV-270961 - Update hip_programming_guide.md for event handling
Change-Id: Ieadac9972e5ee13c05ccb42a679866f494f96f47


[ROCm/hip commit: 171551ea8a]
2021-04-16 12:14:25 -04:00
Maneesh Gupta 338c21da14 SWDEV-289147 - Update version dependencies of rocr and comgr packages
Change-Id: I435284298842d054d9b600e797bff391de2e5b1f


[ROCm/hip commit: e6aa972303]
2021-04-16 00:57:38 -04:00
Satyanvesh Dittakavi 94bb45ff6d SWDEV-281504 - Rename structure names to use reserved names in HIP headers
HIP headers use few structure names as X, Y, and Z. This causes
compilation issues when the apps use similar names as macros.
Renamed the struct names to use reserved names such as
__X, __Y and __Z

Change-Id: I59416c3734f274e853c87d4856b7e616f6cee5f5


[ROCm/hip commit: b26ef8522e]
2021-04-15 09:52:58 -04:00
Sarbojit Sarkar 46b21fcd13 SWDEV-261977 - Updated API to return runtime version
Change-Id: Id2373843c854c83ba06854dd05c61755d0264d8f


[ROCm/hip commit: 6b8ca9a503]
2021-04-15 07:17:36 -04:00
sumanthtg 578ce42bc5 SWDEV-278967 - Changes to handle dtest failures on cuda runtime version 11.2
Change-Id: I79c87d40b77b4e4beb7e3d0a9ea396ad918a81e8


[ROCm/hip commit: 5476c9877b]
2021-04-14 12:38:46 -04:00
Aaron Enye Shi c7cc093f1a SWDEV-261391 - Add Cache Coherency Tests for gfx90a
Add a test for fine-grained device to device coherency.
Add a test for fine-grained host to device coherency.

Change-Id: I62482cae917fa19feaa17adb53f3084527ad8fda


[ROCm/hip commit: eed3fe6da9]
2021-04-13 16:13:56 -04:00
Tao Sang 8e4eab2f4d SWDEV-273138 - Rearrange device attributes
Change-Id: Iab5902c9a2702456fbe437fdefc40541c48abb74


[ROCm/hip commit: ca50ac83c7]
2021-04-12 17:05:27 -04:00
kjayapra-amd f3af2709b4 SWDEV-274276 - Implement system scope atomics to _system builtins. Default atomics will map to agent.
Change-Id: I63b13063274418e96d4be0159c779127b166bea5
(cherry picked from commit 7c4ae8ca1daac0b75ac36c4e4a45b8d13f219d14)


[ROCm/hip commit: dfaf6140cf]
2021-04-09 10:23:32 -04:00
Satyanvesh Dittakavi d7ce1b93ea SWDEV-279486 - Fix hipMemcpyPeer/hipMemcpy APIs
Addresses the scenarios when the size passed is more than
the allocated size and when the deviceid is invalid
Change-Id: I6c9b62639096f655ffb61976905b1ce8c5f51ee7

Change-Id: I8a0d660924a8e2300c517aba6f9088626b8f6ef5


[ROCm/hip commit: 68161ff0dd]
2021-04-09 02:53:15 -04:00
Julia Jiang 6c101e5ffb SWDEV-270961 - Update HIP FAQ.md
Change-Id: I34b03692edd9e6bc424a3ee615d21cb226aa86cf


[ROCm/hip commit: 865ecc64af]
2021-04-08 14:13:13 -04:00
Sarbojit Sarkar 225d149818 SWDEV-260454 - Fix for idenfying bad streams
Change-Id: I122ff6f47535c3c76ab56ba49ab1450ef886b15f


[ROCm/hip commit: 492ccc3281]
2021-04-07 12:13:30 -04:00
Sarbojit Sarkar 47c83726a4 SWDEV-280131 - Fix __half2 member access bug
Change-Id: Ic11750d18e4ba47446a7e494c3089a19cb4df783


[ROCm/hip commit: 83a25eb5b5]
2021-04-07 12:12:02 -04:00
Rupam Chetia c1f57da073 SWDEV-238517 - [dtest] Adding additional scenarios for block and grid dimension.
1. Corner case and negative test scenarios added for block and grid dimension.

Change-Id: I094faf02570fec101f688462712934b94ceb37e1


[ROCm/hip commit: b1d78e4096]
2021-04-07 01:44:39 -04:00
Rupam Chetia db7803ee5d SWDEV-238517 - [dtest] Adding new test cases for hipComplex functions.
1. Added 21 test scenarios to test the hipComplex functions on both host and device.
2. Modified the floating point comparisons with precision check.

Change-Id: I9edfb0c635ced255935087c85b77d3cc6a1a82e3


[ROCm/hip commit: 366f0462f2]
2021-04-06 07:54:29 -04:00
Julia Jiang ec9f4720bc SWDEV-270961 - update HIP documents
Change-Id: I5168d83a124e9c7d856fb7a46d9960d9f99143c6


[ROCm/hip commit: d8f123eed7]
2021-04-05 14:34:33 -04:00
Satyanvesh Dittakavi b2ac04fffd SWDEV-277264 - Support install.sh on CentOS
Change-Id: I2e83c53f68372c4de538cc67414440a933241814


[ROCm/hip commit: 166fd274f1]
2021-04-05 09:06:05 -04:00
Sarbojit Sarkar 198260cdc4 SWDEV-276319 - Added null checks
Change-Id: Ib22a333f0f599c8f0efca34f2a287bc4b118d743


[ROCm/hip commit: 3d7ecb6fea]
2021-04-01 05:11:16 -04:00
Sarbojit Sarkar 36074a5c90 SWDEV-254441 - Fixed review comments
Change-Id: Ica13f23638be04216d152821127b2b7316f96af0


[ROCm/hip commit: c6aac041e1]
2021-04-01 00:21:19 -04:00
pghafari 5242decbc0 SWDEV-245532 - HIP - Vulkan interop
Change-Id: Iba1ef8112e318b4f099da5a4a4602e0dae7de9e3


[ROCm/hip commit: a1b321bba4]
2021-03-31 10:23:31 -04:00
Anusha GodavarthySurya 362629f2e8 SWDEV-278873 - hipStreamCreate handle invalid flag value
Change-Id: I05c0e0b76f7b09947e48d5b9f225af305bade27f


[ROCm/hip commit: 45ccc14d55]
2021-03-31 07:59:41 -04:00
Jatin Chaudhary 2c94fc9b42 SWDEV-279372 - HIP_CLANG_PATH should resolve from HIP_PATH if its defined
Change-Id: Iee909f1e2f3d6443b494846219ad955a1f0ebfe8


[ROCm/hip commit: 6e42b3f71c]
2021-03-31 00:31:45 -04:00
Sourabh Betigeri 4ee227146e SWDEV-274727 - Disabling tests temporarily
Change-Id: I695daebe15f592afdfee8e4efe4d8966b6e9922a


[ROCm/hip commit: 8f67e24cbd]
2021-03-30 13:02:19 -04:00
sumanthtg 14f4a3f027 SWDEV-278478 - hipDeviceGetPCIBusId-vs-lspci test enabled only for linux environment
Change-Id: Ia86174505d912a32b07e8e959adfba6391c3284d


[ROCm/hip commit: 1cf7c2c87b]
2021-03-30 09:28:28 -04:00
Jatin Chaudhary e533ae97b1 SWDEV-278810 - Remove default addition of CXX Flags if file type is not recognized
Change-Id: I2b29f246d138b511d77f8e78f273795b4977313f


[ROCm/hip commit: e2425ba34d]
2021-03-30 00:47:56 -04:00
Sarbojit Sarkar 04849fca63 SWDEV-277926 - Updated deprecated APIs in Cuda
Change-Id: I9ff655af227b245067eb760325c395bb562696ee


[ROCm/hip commit: d4f347747b]
2021-03-29 01:19:19 -04:00
Satyanvesh Dittakavi 70445b1f7e SWDEV-277152 - Add hipMemcpy2DToArrayAsync API in headers
Also, address few scenarios for hipMemcpy2DToArray/Async to return
proper error types

Change-Id: Idbadf666a5e7bebc0f3ea8b7048b79208e04cf6b


[ROCm/hip commit: 39f4d0d244]
2021-03-27 13:50:38 -04:00
Maneesh Gupta 8b45dcef22 SWDEV-187253 - Print warning if launch_params > bounds
Change-Id: I138546bf816887576e797105f97ce37245911045


[ROCm/hip commit: b2cb34f519]
2021-03-24 22:29:19 -07:00
sumanthtg 64f2af4dc9 SWDEV-278478 - Fix for hipDeviceGetPCIBusId-vs-lspci test failure
Change-Id: I7c722633ba8023f03bb64f5fb32b31f10015c327


[ROCm/hip commit: 6e201739b6]
2021-03-23 21:49:17 +05:30
Anusha GodavarthySurya feab085103 SWDEV-272025 - Replace pushd/popd with cd
Change-Id: I0464e4079e31ddbc4e2032d64600f1f2c31a2c1f


[ROCm/hip commit: bb4433be51]
2021-03-23 05:24:50 -04:00