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

13402 Коммитов

Автор SHA1 Сообщение Дата
German Andryeyev bb785af04f SWDEV-240804 - HMM changes
- Accept hipMemAttachHost flag
- Don't allocate HMM memory if HMM is disabled in KFD

Change-Id: I3d386eb0a109a19c16a87a728944a3a6669f643a


[ROCm/clr commit: 5d8cafef2d]
2021-05-10 13:50:21 -04:00
Aaron En Ye Shi 3d40b92eeb SWDEV-283266 - __HIPCC_RTC__ macro added to HIP headers
For hipRTC on Windows, add macro __HIPCC_RTC__ to allow
online compilation of with device functions excluding standard
C/C++ headers, system headers, and host HIP APIs.

Change-Id: I1d91f042baf1359856ec83ab7030dc58785e0334


[ROCm/clr commit: 688693e9fd]
2021-05-10 17:28:07 +00:00
Julia Jiang 01f60915fb SWDEV-272921 - Remove non-existing link for square sample
Change-Id: If8c87a6ded6aacaa4301b1b80ee218897219a6fb


[ROCm/clr commit: 381503211a]
2021-05-10 12:09:28 -04:00
Brian Sumner 567d9cc617 SWDEV-285332 - move common context into parent
Change-Id: I99ceb62ad948e1fa9d1dcaa5ede98626cc95bea7


[ROCm/clr commit: 6d09a83b2d]
2021-05-09 09:18:39 -07:00
Chauncey Hui 3be8c0a0c3 SWDEV-2 - Change OpenCL version number from 3303 to 3304
[ROCm/clr commit: 01722818d0]
2021-05-08 03:00:05 -04:00
Anusha Godavarthy Surya 1fe1fe9361 SWDEV-240806 - Initial commit for hipGraph and stream capture infrastructure
On StreamBegincapture captures the parameters passed to APIs and respective node will be created and added to graph
All parameters are passed to STREAM_CAPTURE macro, it checks if stream in capture mode and redirects the call to the capture function and returns
Updated hipStream and hipEvent with capture parameters
Added handling for hipStreamBeginCapture & hipStreamEndCapture

Change-Id: Ic8926a7b4336c2cc81f0b3a9a224aa392c474134


[ROCm/clr commit: 8cc0e04239]
2021-05-07 17:38:16 -04:00
Jason Tang 7f71fd4036 SWDEV-277566 - Add amd::Program::load interface
Skeleton implementation to allow change at HIP and OpenCL.

Change-Id: I70e69d33c6870cc96238b2f18010ace86d56147f


[ROCm/clr commit: b2116c2137]
2021-05-07 17:07:15 -04:00
Ravi C Akkenapally abc42e8c5c SWDEV-281998 - TEST: StreamOperations : Split StreamWait and Update into two seperate threads
Change-Id: I0fda25857dd9f097f36ce1bafedb7689ca2beecc


[ROCm/clr commit: 44ac926b08]
2021-05-07 11:11:28 -07:00
Julia Jiang bb775c5c50 SWDEV-282350 - update HIP documents
Change-Id: Iff3a49e75279b1ecee0672a6d35f6b84a8256296


[ROCm/clr commit: 8f38d6f496]
2021-05-07 12:38:13 -04:00
Chauncey Hui a8e09cd69b SWDEV-2 - Change OpenCL version number from 3302 to 3303
[ROCm/clr commit: 6feda9e15c]
2021-05-07 03:00:08 -04:00
Maneesh Gupta 789bcdf625 SWDEV-252801 - Fail if launch params exceeds launch_bounds
Change-Id: I90c8d0f1897ca63f00c3eec7c99d649a5c43416d


[ROCm/clr commit: 055a460f12]
2021-05-06 22:38:50 -07:00
German Andryeyev 2640dfc374 SWDEV-272496 - disable direct dispatch by default
Change-Id: I706387355add75852c570be2656131ef99e8958c


[ROCm/clr commit: df9de9a312]
2021-05-06 16:17:26 -04:00
Vladislav Sytchenko 7b73c26a29 SWDEV-273235 - Allow explicitly disabling LF support
Currently LiquidFlash cannot be supported from Github Enterprise,
hence we need to be able to build with out it.

Allow this by setting -DWITH_LIQUID_FLASH=0.

Change-Id: If59afe45c02a1623639360dbcc3927360f16ebd3


[ROCm/clr commit: ff3f6b2575]
2021-05-06 13:05:12 -04:00
Julia Jiang a3321e2b9e SWDEV-282350 - Adding hip_debugging
Change-Id: I18f52a76f88bcd3a0628030a6798d546a3973f4d


[ROCm/clr commit: e65317fd56]
2021-05-06 11:48:52 -04:00
Vladislav Sytchenko c7b6347a34 SWDEV-273235 - Minor build fixes for Windows CMake
Change-Id: Ia0631c8d6c2a58526b9938cfd141cbe64437f8fb


[ROCm/clr commit: ece83262de]
2021-05-05 14:32:47 -04:00
Vladislav Sytchenko d63de355fe SWDEV-273235 - Allow explicitly disabling LF support
Currently LiquidFlash cannot be supported from Github Enterprise,
hence we need to be able to build with out it.

Allow this by setting -DWITH_LIQUID_FLASH=0.

Change-Id: I975e8ee16b7ba033e3eb95fe40955d8c1d4779b7


[ROCm/clr commit: 7034e749e3]
2021-05-05 14:32:30 -04:00
Vladislav Sytchenko 109a7255cb SWDEV-273235 - Allow explicitly disabling LF support
Currently LiquidFlash cannot be supported from Github Enterprise,
hence we need to be able to build with out it.

Allow this by setting -DWITH_LIQUID_FLASH=0.

Change-Id: I8f147b5d52ca1c8203000beea8f16b2699548dc3


[ROCm/clr commit: 8af3f12790]
2021-05-05 12:43:59 -04:00
Vladislav Sytchenko eeb06dd4b7 SWDEV-273235 - Remove implicit dependancy on WGL
Change-Id: I8355587be50492767caa3d2a4e602bdd6eb73960


[ROCm/clr commit: 4127be5c63]
2021-05-05 12:42:35 -04:00
Vladislav Sytchenko a1f74b3b7a SWDEV-273235 - Minor build fixes for Windows CMake
runtime directory only exists in P4. We should not be referencing it.

Change-Id: I1d88f32fccc716468c070235c4797bd905a76866


[ROCm/clr commit: 5958b3bba5]
2021-05-05 12:40:26 -04:00
Vladislav Sytchenko b739fb879d SWDEV-280473 - Remove dependancy on internal ACL API
aclutGetTargetInfo() is an internal compiler lib helper functions. This
will not be imported in the HSAIL shared library build, however it is
simple enough that we can maintain our own local copy of it.

Change-Id: I91d1a336c7da027bf8a7df8fae86a25add533611


[ROCm/clr commit: 7fd1e9c10a]
2021-05-05 12:19:52 -04:00
Anusha GodavarthySurya 766c6fbdcb SWDEV-271978 - Function __byte_perm to match CUDA behavior
Selector indices are as follows (the upper 16-bits of the selector are not used): selector[0] = s<2:0> selector[1] = s<6:4> selector[2] = s<10:8> selector[3] = s<14:12>

Change-Id: Ibf76c6ec2374f1f5b9bba8bd9dbd73660f830eea


[ROCm/clr commit: e9cc056d25]
2021-05-05 03:00:32 -04:00
Chauncey Hui 04a68c85b6 SWDEV-2 - Change OpenCL version number from 3301 to 3302
[ROCm/clr commit: 34ccb004df]
2021-05-04 03:00:05 -04:00
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
Saleel Kudchadker 6c1f022834 SWDEV-280773 - Additional logging for signals
Cleanup new lines in debug log

Change-Id: I6862c332eb9457b51e23cf4e9db9ba3f870d0c39


[ROCm/clr commit: 42b8236f93]
2021-04-30 15:05:57 -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
Chauncey Hui 92a0d07ebb SWDEV-2 - Change OpenCL version number from 3300 to 3301
[ROCm/clr commit: badfea2019]
2021-04-29 03:00:08 -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
pghafari b6e62f99d0 SWDEV-245532 - HIP - Vulkan interop semaphores
linuxpro syntax update

Change-Id: Id77e0d82c504fb7a1bd8edfac7dc962e428c87b4


[ROCm/clr commit: 89168d4812]
2021-04-28 13:48:25 -04:00
pghafari 45a930465e SWDEV-245532 - HIP - Vulkan interop semaphores
linuxpro syntax update

Change-Id: I947f24f67ed59c15fe5047348b0c005e19e93544


[ROCm/clr commit: 6e69bcef9e]
2021-04-28 07:44:22 -04:00
Chauncey Hui cf4f0c8cd3 SWDEV-2 - Change OpenCL version number from 3299 to 3300
[ROCm/clr commit: d770b28a3f]
2021-04-28 03:00:08 -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
German Andryeyev 4352d68310 SWDEV-86035 - Update PAL interface to 665
Change-Id: Ic38417ac5ff426119d721790a467552633110973


[ROCm/clr commit: 6c5fe7feb5]
2021-04-27 18:10:32 -04:00
German Andryeyev 118a1a9295 SWDEV-86035 - Update the new DOPP flag in PAL interface
Change-Id: Ia3de452bf77220ae0403b3427e13c6ad26009128


[ROCm/clr commit: cdccb6ebc9]
2021-04-27 17:51:23 -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
pghafari 4eca2cb891 SWDEV-245532 - HIP - Vulkan interop semaphores
linuxpro syntax update

Change-Id: I184e1293ff4b046c5f8376d06f1d8e9509cd7ba2


[ROCm/clr commit: 6e69864a0c]
2021-04-27 13:28:49 -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
pghafari d620f9ea84 SWDEV-245532 - HIP - Vulkan interop semaphores
syntax update

Change-Id: I1eefb8048adbe18c84276092520c1e0b01164e82


[ROCm/clr commit: fe9dbf1ded]
2021-04-27 07:11:58 -04:00
Chauncey Hui 2c15463f3e SWDEV-2 - Change OpenCL version number from 3298 to 3299
[ROCm/clr commit: bd8ca3827e]
2021-04-27 03:00:06 -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 5e70450a24 SWDEV-240804 - Enable HMM build by default
Change-Id: Ia6175dff8eda8c18b7a7bb4ca87a90c1f3e4e6fb


[ROCm/clr commit: ea3dba0832]
2021-04-26 17:36:53 -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