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

5964 Коммитов

Автор SHA1 Сообщение Дата
Christophe Paquot 18af8b7754 SWDEV-270599 - Refactored the way we get time from start/stop events in all cases
Change-Id: Id3f9bcad45d643e493daf9d5f47b3a032a427177


[ROCm/clr commit: f665936fe1]
2021-05-03 13:16:36 -07:00
Aaron En Ye Shi f6f8fa7787 SWDEV-283930 - Fix bugs in HIP Tests on Windows
Windows doesn't have headers unistd.h, sys/wait.h, so
remove them for _WIN64. Also, Windows doesn't have rand_r
so define it. Fixes builds for HIP tests:
d2dMemCpyWithPinnedHostMemory, hipMemset3DFunctional,
hipModuleLoadMultProcessOnMultGPU,
hipModuleLoadUnloadStress, hipModuleNegative,
hipStreamACb_ThrdBehaviour, hipMemcpyNegativeMThrdMSize,
hipStreamACb_MStrm_Mgpu, StreamAddCallback,
hipStreamACb_StrmSyncTiming, hipStreamACb_MultiCalls,
hipMallocConcurrency, hipMemset3DRegressMultiThread,
and hipSetGetDevice.

Change-Id: Id2f98d664716026c590d879e464ba467d4c071be


[ROCm/clr commit: bacb89c086]
2021-04-30 21:38:45 +00:00
kjayapra-amd d3ff861a37 SWDEV-245533 - Implementing Mipmap array APIs
Change-Id: I222c8d0fcbd50cdefd702462e689463bb36366d2


[ROCm/clr commit: 31d412c292]
2021-04-30 16:33:43 -04:00
agodavar 7e822c9041 SWDEV-283897 - SWDEV-283901 - Fix directed and performance test failure
Change-Id: Ia0e9ab5d172802403af7bf6568f985b82e799baf


[ROCm/clr commit: a2d4487cc6]
2021-04-30 17:56:44 +00:00
Jatin Chaudhary 60aa49e1d3 SWDEV-283959 - Make hipcc recognize -xc -xc++ -xhip options and add CXX flags when user mentiones filetype as -x hip
Change-Id: I737fba3db77eef21eb88ccf648b4134218249456


[ROCm/clr commit: 7941dedc45]
2021-04-30 04:58:07 -04:00
Satyanvesh Dittakavi 8d24a3fa09 SWDEV-278464 - Unit Test For Suspected race condition
Change-Id: I561ec3073a6e6813c5f7aa50983fcf098c6ac54a


[ROCm/clr commit: 710b0a904b]
2021-04-29 23:40:43 -04:00
Tao Sang 9ae3d42085 SWDEV-283515 - Fix crashing in kernel launch on MGPUS
Fix wrong mixing of current device and stream device in
ihipModuleLaunchKernel() and hipLaunchCooperativeKernel().

Fix missing hipSetDevice() in hipMemcpyWithStream* tests.

Change-Id: I09333bb40d239bb42c832df5ea16d17eeaeff5e7


[ROCm/clr commit: b99efb9d67]
2021-04-29 14:46:47 -04:00
Anton Gorenko 85a1ce9777 SWDEV-272536 - (PR-2229) Fix conversion of texture addressing mode
hipAddressModeClamp corresponds to CL_ADDRESS_CLAMP_TO_EDGE.
This change fixes incorrect sampling near texture edges.

https://github.com/ROCm-Developer-Tools/HIP/pull/2229

Change-Id: Ia2af9f3cb582a74af7b1f65bad1ed0310eab2628


[ROCm/clr commit: bcdfb0158b]
2021-04-29 12:19:15 -04:00
Satyanvesh Dittakavi 9e4b7ff5bb SWDEV-283388 - Fix hipMemRangeGetAttributes on Nvidia Platform
Change-Id: I5daeacd9dd5c6ce7f914d6e6e45dd41fb2a675a5
hipMemRangeGetAttributes was returning hipErrorInvalidValue due to improper
mapping of the arguments to cudaMemRangeGetAttributes.


[ROCm/clr commit: cc39ceab25]
2021-04-29 06:06:03 -04:00
cjatin 383d919730 SWDEV-277903 - Add HIP_ROCCLR_HOME under HIP_PLATFORM==amd
Change-Id: I00e156eb0a51f505300e288af59a0cf39b606e26


[ROCm/clr commit: 4f0e8fc382]
2021-04-29 03:08:34 -04:00
Satyanvesh Dittakavi 73fb93ac2a SWDEV-283213 - Fix hipMemset2D, 3D failures in Debug mode
If the width is 0, hipMemset2D or 3D APIs should return success
doing nothing
Change-Id: I97f8825d090a73ee63145e52d2b6d2cc0eddade3

Change-Id: I9d62fee70929ad0c79b947aa4cbbc8ab898fb64a


[ROCm/clr commit: f845041f7d]
2021-04-28 18:53:53 -04:00
Rahul Garg eff8e6575c SWDEV-266973 - Add missing HIP_RETURN
Change-Id: Ib569a8cb030179b71406d47fd08c7e1e7ab6eb7c


[ROCm/clr commit: 47fe205223]
2021-04-27 19:55:28 -04:00
Rahul Garg 9a4c6b4d73 SWDEV-280672 - Support HIP_PLATFORM=hcc in hipcc with warning
Change-Id: I6b199ea5ebed828a7f82c20d50fdf0fcfb887a64


[ROCm/clr commit: 78b926d48d]
2021-04-27 19:53:56 -04:00
Aaron En Ye Shi 3a319aa734 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/clr commit: b462310394]
2021-04-27 16:05:15 -04:00
Julia Jiang 46c8824652 SWDEV-208837 - add host allocation Numa aware
Change-Id: I9516b1a7411695d22038e0a3657822ee453ed709


[ROCm/clr commit: f0f0c85e72]
2021-04-27 10:45:57 -04:00
Satyanvesh Dittakavi 0622e6d63b 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/clr commit: 991ab72d5f]
2021-04-27 01:19:08 -04:00
German Andryeyev d01cfbc1cc SWDEV-240804 - Check the managed capability
Some system have HMM disabled. Check the capability before running the test.

Change-Id: I098d04d87c12ec317b4cb57e121e702b6bba03bc


[ROCm/clr commit: 17f32d4508]
2021-04-26 14:10:57 -04:00
German Andryeyev 04087d9be8 SWDEV-244287 - Keep direct dispatch for Linux only
Change-Id: I09333bb40d239cb42c732df5ea16d17eeaeff5e6


[ROCm/clr commit: bae93cc42d]
2021-04-26 14:10:57 -04:00
Satyanvesh Dittakavi 59c118bb57 SWDEV-281789 - Add missing HMM attributes on CUDA path
Change-Id: I11167eea006301e01a1f91708bf6d0ac832d8b7f


[ROCm/clr commit: 120436423c]
2021-04-26 13:54:01 -04:00
Yaxun (Sam) Liu e04783afe7 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/clr commit: 37b90c2f64]
2021-04-26 08:49:15 -04:00
German Andryeyev 85d9fae70c SWDEV-244287 - enable direct dispatch by default
Change-Id: If506566624a218a2dd443b794c5c400bd0b9ebf7


[ROCm/clr commit: 678b1225e8]
2021-04-24 02:33:46 -04:00
DURGESH KROTTAPALLI 1d59f43b6c 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/clr commit: f9d422bcbd]
2021-04-23 13:07:08 -04:00
Sarbojit Sarkar d2e070dfd7 SWDEV-282405 - Fix for rocFFT build issue
Change-Id: I39d1823ac6ea1d61610b9ff9153a6d0e91426fc8


[ROCm/clr commit: ed83033470]
2021-04-23 01:18:56 -04:00
Yaxun (Sam) Liu 255a1d6e96 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/clr commit: 932d34dc6e]
2021-04-22 15:07:16 -04:00
Rahul Garg d9f4fce90b SWDEV-229520 - Reenable hipEventIpc test
Change-Id: Ib40fb07a07cc447182e23664573c5e37a1194a32


[ROCm/clr commit: 22fe144b08]
2021-04-21 13:55:15 -04:00
Anusha GodavarthySurya dcad465a22 SWDEV-282361 - HIP support for NVRTC
Change-Id: I82869af8194b595f9a2fb64ad034630786189335


[ROCm/clr commit: c23586440b]
2021-04-20 09:28:58 -07:00
Anusha GodavarthySurya 65785ab12c 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/clr commit: 94f6202032]
2021-04-20 11:04:42 -04:00
Tao Sang fe7d103d56 SWDEV-279657 - Fix hipMallocManaged-N256M failure
Add concurrentManagedAccess detection in hipMallocManaged test.
Skip test when device doesn't support concurrentManagedAccess.

Change-Id: Ie54046feef3baba857a7068972ec1fc1a60c2dfd


[ROCm/clr commit: 20fd6b8a66]
2021-04-20 09:07:31 -04:00
sumanthtg 9834c99bfc SWDEV-238517 - [dtest] Additional Tests for hipHostMalloc()
New Tests added for
 - hipHostMalloc() api.

SWDEV-238517 for enhancing hip unit tests

Change-Id: Id237ab6cd2445216cd7bd9b8189c22a36ad66b7c


[ROCm/clr commit: 248785e3d1]
2021-04-20 00:44:30 -04:00
Sourabh Betigeri eedde26cc9 SWDEV-256723 - Added group partitioning feature in ROCm CG.
Change-Id: Ie54046feef3baba857a7068972ec1fc0a60c2df9


[ROCm/clr commit: 0a0b026304]
2021-04-19 18:53:17 -04:00
German Andryeyev b3f68fb194 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/clr commit: dab4f5bdba]
2021-04-19 13:00:16 -04:00
DURGESH KROTTAPALLI c634c74f1b 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/clr commit: 6d0d2aabd6]
2021-04-19 08:48:15 -04:00
Julia Jiang e103d4f31d SWDEV-270961 - Update hip_programming_guide.md for event handling
Change-Id: Ieadac9972e5ee13c05ccb42a679866f494f96f47


[ROCm/clr commit: cb22874ebd]
2021-04-16 12:14:25 -04:00
Maneesh Gupta 27da0ee868 SWDEV-289147 - Update version dependencies of rocr and comgr packages
Change-Id: I435284298842d054d9b600e797bff391de2e5b1f


[ROCm/clr commit: f18a0d1405]
2021-04-16 00:57:38 -04:00
Satyanvesh Dittakavi 74cf3b8795 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/clr commit: 009543ec7a]
2021-04-15 09:52:58 -04:00
Sarbojit Sarkar dfe352e2bf SWDEV-261977 - Updated API to return runtime version
Change-Id: Id2373843c854c83ba06854dd05c61755d0264d8f


[ROCm/clr commit: 6d317ef831]
2021-04-15 07:17:36 -04:00
sumanthtg 455fcfd330 SWDEV-278967 - Changes to handle dtest failures on cuda runtime version 11.2
Change-Id: I79c87d40b77b4e4beb7e3d0a9ea396ad918a81e8


[ROCm/clr commit: ee8b053a3e]
2021-04-14 12:38:46 -04:00
Aaron Enye Shi eb7035a7c1 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/clr commit: 49696c568f]
2021-04-13 16:13:56 -04:00
Tao Sang 73df8d8dd9 SWDEV-273138 - Rearrange device attributes
Change-Id: Iab5902c9a2702456fbe437fdefc40541c48abb74


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


[ROCm/clr commit: 61d1eaa522]
2021-04-09 10:23:32 -04:00
Satyanvesh Dittakavi 954d7872f2 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/clr commit: 191ce1dd05]
2021-04-09 02:53:15 -04:00
Julia Jiang c4cd7b1219 SWDEV-270961 - Update HIP FAQ.md
Change-Id: I34b03692edd9e6bc424a3ee615d21cb226aa86cf


[ROCm/clr commit: ea0e2007c0]
2021-04-08 14:13:13 -04:00
Sarbojit Sarkar 9d490550c5 SWDEV-260454 - Fix for idenfying bad streams
Change-Id: I122ff6f47535c3c76ab56ba49ab1450ef886b15f


[ROCm/clr commit: daf0cbca3c]
2021-04-07 12:13:30 -04:00
Sarbojit Sarkar 4e5bf6268b SWDEV-280131 - Fix __half2 member access bug
Change-Id: Ic11750d18e4ba47446a7e494c3089a19cb4df783


[ROCm/clr commit: 9cbb283771]
2021-04-07 12:12:02 -04:00
Rupam Chetia 726547bca4 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/clr commit: c9ef2adf6a]
2021-04-07 01:44:39 -04:00
Rupam Chetia f896c3411d 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/clr commit: bbc933c914]
2021-04-06 07:54:29 -04:00
Julia Jiang ffdccc1155 SWDEV-270961 - update HIP documents
Change-Id: I5168d83a124e9c7d856fb7a46d9960d9f99143c6


[ROCm/clr commit: 774565e5ae]
2021-04-05 14:34:33 -04:00
Satyanvesh Dittakavi a4b1719407 SWDEV-277264 - Support install.sh on CentOS
Change-Id: I2e83c53f68372c4de538cc67414440a933241814


[ROCm/clr commit: 380d903402]
2021-04-05 09:06:05 -04:00
Sarbojit Sarkar ce41fd9824 SWDEV-276319 - Added null checks
Change-Id: Ib22a333f0f599c8f0efca34f2a287bc4b118d743


[ROCm/clr commit: 4af7a74482]
2021-04-01 05:11:16 -04:00
Sarbojit Sarkar 993f52cd8b SWDEV-254441 - Fixed review comments
Change-Id: Ica13f23638be04216d152821127b2b7316f96af0


[ROCm/clr commit: 35c8493237]
2021-04-01 00:21:19 -04:00