gilbertlee-amd
32b53b2b13
Clarifying that hipExtLaunch timing does not include cache flush time ( #2308 )
2021-08-19 10:27:20 +05:30
Rahul Garg
03e205a1c8
SWDEV-297563 - Move surface types
...
Change-Id: I1dbb3affce688b75d866917592c497df0cfd358d
2021-08-02 18:50:33 +00:00
Rahul Garg
54e703b17e
SWDEV-297563 - Update hip-common declarations
...
Change-Id: I2545489e3dde55fb9375b9f4cc20ea271fafd3f0
2021-08-02 11:56:28 -04:00
Sourabh Betigeri
8dfb12b6d2
SWDEV-292523 - Marking streamOperations as a Beta feature in documentation
...
Change-Id: Ib7323ff92df1bd111891b0c7c5e69b31e8ad8e68
2021-07-30 15:09:59 -04:00
Tao Sang
c053d60282
SWDEV-294591 - Fix hipEventIpc failure on NV
...
make hipIpcOpenEventHandle has the same behavour of cudaIpcOpenEventHandle.
Add Api usages.
Change-Id: I4248b2cebd3de156f9d5d427e1797da22fb964eb
2021-07-28 15:28:39 -04:00
Sarbojit Sarkar
aca0437750
SWDEV-292547 - hipStreamPerThread support
...
Change-Id: I66d5b9a34ef26cfbd8ab608db20655a3b1d9c49a
2021-07-23 00:27:27 -04:00
Sourabh Betigeri
6deaba3fa7
SWDEV-292523 - [hip]Change in the signature of streamOperations APIs, particularly 'value' arg to unsigned 'value
...
Change-Id: If97e3de553dfef19c8bf2d9797a6c68ec94a0ff6
2021-07-22 15:35:06 -04:00
Vladislav Sytchenko
d3b06fd5a6
SWDEV-281658 - Workaround for Windows build
...
Currently hip_prof_str.h does not include any header files. All HIP
declarations are being resolved by accident.
Pushing it to the end of hip_runtime_api.h will allow it to include the
definition of GLuint.
Change-Id: Ibb33b93cc7eab2028ba96f166bcb06f2f079feef
2021-07-22 10:49:31 -04:00
Anusha GodavarthySurya
91ac5744ef
SWDEV-240806 - Added API hipGraphAddMemcpyNode1D
...
Change-Id: I32440de0e890b001274fc7ca564fd91363d716d8
2021-07-21 23:12:47 -04:00
Tao Sang
586165ebc2
SWDEV-294588 - Enable NV printf DTests
...
Enable NV printf DTests as many as possible.
Fix the bugs due to behavour difference between
Hip-Rocclr and Cuda.
Add hipLimitPrintfFifoSize.
Change-Id: I3fe6dbc35a7a140a9919df197b7885df83d28049
2021-07-20 21:22:11 -04:00
Christophe Paquot
b7c0b21814
SWDEV-240807 - Fix header file
...
Removed #ifdef __cplusplus around Graph API
Change-Id: I24000d49acd3b93cb19ae2f52618ae8c4a506e3b
2021-07-20 14:49:33 -07:00
Anusha GodavarthySurya
6e7ea5b612
SWDEV-240806 - Added Implementation for few more graph APIs
...
Change-Id: I1e443cf1b4e3a1e85f6fb9c1db8fdfa7c1fdfe06
2021-07-14 01:58:03 -04:00
German Andryeyev
a20ad647ea
SWDEV-293583 - correct a typo in hipStreamAttachMemAsync
...
Change-Id: Ib9c634053a152353ae657a00fea4b072a824c5ba
2021-07-12 12:40:14 -04:00
agunashe
d529637fbc
SWDEV-293742 - Update copyright end year
...
Change-Id: I2cb7bbd9a6d9da28116ba9dd9cec4e60525444e2
2021-07-07 12:57:23 -04:00
pghafari
d0c1be0db6
SWDEV-245531 - GLInterop: Add Buffer Interop api
...
Change-Id: Iddb0bb2a232e97d9071320244adc360bd7d011b5
2021-07-06 10:06:33 -04:00
Maneesh Gupta
25ed6bc573
SWDEV-291578 - Fix includes to match filename change
...
Change-Id: Ie88ff30df6135cf13e86f163ba41dba8ed9d0c87
2021-06-18 02:01:30 -04:00
Rahul Garg
a5b276d5ac
SWDEV-288707 - Remove amd_detail from hip
...
Change-Id: Ib99e1544a1074304819e12bc18480dc1519efbbd
2021-06-18 01:10:50 -04:00
pghafari
56f90df89e
SWDEV-245531 - GLInterop: Add Buffer Interop support
...
Change-Id: I97ed7366d3cecafc2f621894258ecf8ab0d26612
2021-06-14 20:36:55 -04:00
pghafari
ba37ac4801
SWDEV-245531 - GLInterop: Add Buffer Interop support
...
Change-Id: Ida6fdc20535d1964e888aa3cd0864c5979c4973b
2021-06-14 11:08:56 -04:00
Julia Jiang
470f3e521c
SWDEV-290704 - Add HIPrtc doxygen in API headers
...
Change-Id: I629bdeaef7a01aec45bb9453d883213c73008d1c
2021-06-10 17:16:01 -04:00
Rahul Garg
ce76ec8b88
SWDEV-288707 - Merge HIP refactored code to staging
...
These changes move-
- rocclr based implementation inside src/hipamd/src
- platform specific (both nvidia and amd) headers inside
src/hipamd/include/hip
Change-Id: Ia29791a727244952591fe1d813dcef0303b73a9e
2021-06-07 00:07:24 +00:00
German Andryeyev
c80955b569
SWDEV-240804 - Add hipMemAdvise() extension
...
Add coarse grain memory extension. The new advice will allow HMM
to disable cache coherency policy to improve performance
Change-Id: I3c792d6a96896b983a7ffccddaa0ded06d183212
2021-06-02 16:16:14 -04:00
Joseph Greathouse
bec284b26a
SWDEV-288361 - Implement funnel shift operators
...
Change-Id: I0c73809366f2d21e75f98fdeac7fed0c7591ee34
2021-06-01 11:10:11 -04:00
German Andryeyev
b01b048e08
SWDEV-240804 - Fix typos in the comments
...
Change-Id: Ic1385daf1e685772b02a11d43fb13f6cde74c4b7
2021-05-29 00:31:46 -04:00
Aaron En Ye Shi
3899687b8d
SWDEV-283266 - Workaround RTC macro in vector types
...
Temporarily disable __HIPCC_RTC__ in hip_vector_types.h
while the upstream clang headers are outdated on mainline.
Once upstream patch has landed in mainline, revert this
change. This is a workaround for hiprtc testing.
Change-Id: Ib2cf6023b71431bbfbe3c699076caa4f90f7170c
2021-05-21 15:53:59 +00:00
Tao Sang
7373112d74
SWDEV-282588 - Improve clock64()
...
Let clock64() read s_memtime to prevent rolling over
Add wall_clock64() to read s_memrealtime
Change-Id: I706387355add75852c570be2656131ef99e8968f
2021-05-17 13:19:04 -04:00
Aaron En Ye Shi
2d6881e26b
SWDEV-263959 - Fix device decl with long and llong
...
Windows may expect long and ulong to be 4 bytes, while
Linux expects 8 bytes. Instead, use uint64_t for
unsigned long, and unsigned long long, and use int64_t
for long and long long to be consistent.
Change-Id: I6ed1cdde43721bcaaab0245644d607b1adbf9884
2021-05-14 11:59:27 -04:00
pghafari
86a5e82a4b
SWDEV-245532 - HIP - Vulkan interop semaphores
...
Change-Id: I89be5ee84d4728d76e1987d5016c944c0dbc9a96
2021-05-11 11:44:59 -04:00
Aaron En Ye Shi
811bc363c8
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
2021-05-10 17:28:07 +00:00
Anusha Godavarthy Surya
c35ba37287
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
2021-05-07 17:38:16 -04:00
Anusha GodavarthySurya
1cc65c48a2
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
2021-05-05 03:00:32 -04:00
kjayapra-amd
9c07201c6b
SWDEV-245533 - Implementing Mipmap array APIs
...
Change-Id: I222c8d0fcbd50cdefd702462e689463bb36366d2
2021-04-30 16:33:43 -04:00
Satyanvesh Dittakavi
c81a7136d2
SWDEV-283388 - Fix hipMemRangeGetAttributes on Nvidia Platform
...
Change-Id: I5daeacd9dd5c6ce7f914d6e6e45dd41fb2a675a5
hipMemRangeGetAttributes was returning hipErrorInvalidValue due to improper
mapping of the arguments to cudaMemRangeGetAttributes.
2021-04-29 06:06:03 -04:00
Satyanvesh Dittakavi
fe1268b082
SWDEV-281789 - Add missing HMM attributes on CUDA path
...
Change-Id: I11167eea006301e01a1f91708bf6d0ac832d8b7f
2021-04-26 13:54:01 -04:00
Yaxun (Sam) Liu
bf6b451ae3
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
2021-04-26 08:49:15 -04:00
Anusha GodavarthySurya
4de1bfafcc
SWDEV-282361 - HIP support for NVRTC
...
Change-Id: I82869af8194b595f9a2fb64ad034630786189335
2021-04-20 09:28:58 -07:00
Tao Sang
60e2b1299c
SWDEV-279657 - Fix hipMallocManaged-N256M failure
...
Add concurrentManagedAccess detection in hipMallocManaged test.
Skip test when device doesn't support concurrentManagedAccess.
Change-Id: Ie54046feef3baba857a7068972ec1fc1a60c2dfd
2021-04-20 09:07:31 -04:00
Sourabh Betigeri
70af64121b
SWDEV-256723 - Added group partitioning feature in ROCm CG.
...
Change-Id: Ie54046feef3baba857a7068972ec1fc0a60c2df9
2021-04-19 18:53:17 -04:00
Julia Jiang
171551ea8a
SWDEV-270961 - Update hip_programming_guide.md for event handling
...
Change-Id: Ieadac9972e5ee13c05ccb42a679866f494f96f47
2021-04-16 12:14:25 -04:00
Satyanvesh Dittakavi
b26ef8522e
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
2021-04-15 09:52:58 -04:00
Tao Sang
ca50ac83c7
SWDEV-273138 - Rearrange device attributes
...
Change-Id: Iab5902c9a2702456fbe437fdefc40541c48abb74
2021-04-12 17:05:27 -04:00
kjayapra-amd
dfaf6140cf
SWDEV-274276 - Implement system scope atomics to _system builtins. Default atomics will map to agent.
...
Change-Id: I63b13063274418e96d4be0159c779127b166bea5
(cherry picked from commit 7c4ae8ca1daac0b75ac36c4e4a45b8d13f219d14)
2021-04-09 10:23:32 -04:00
Sarbojit Sarkar
492ccc3281
SWDEV-260454 - Fix for idenfying bad streams
...
Change-Id: I122ff6f47535c3c76ab56ba49ab1450ef886b15f
2021-04-07 12:13:30 -04:00
Sarbojit Sarkar
83a25eb5b5
SWDEV-280131 - Fix __half2 member access bug
...
Change-Id: Ic11750d18e4ba47446a7e494c3089a19cb4df783
2021-04-07 12:12:02 -04:00
pghafari
a1b321bba4
SWDEV-245532 - HIP - Vulkan interop
...
Change-Id: Iba1ef8112e318b4f099da5a4a4602e0dae7de9e3
2021-03-31 10:23:31 -04:00
Sarbojit Sarkar
d4f347747b
SWDEV-277926 - Updated deprecated APIs in Cuda
...
Change-Id: I9ff655af227b245067eb760325c395bb562696ee
2021-03-29 01:19:19 -04:00
Satyanvesh Dittakavi
39f4d0d244
SWDEV-277152 - Add hipMemcpy2DToArrayAsync API in headers
...
Also, address few scenarios for hipMemcpy2DToArray/Async to return
proper error types
Change-Id: Idbadf666a5e7bebc0f3ea8b7048b79208e04cf6b
2021-03-27 13:50:38 -04:00
jujiang
d279bd99bb
SWDEV-277423 - Correct hipStreamWaitValue doxygen format
...
Change-Id: I8914c14cb7a05d5d0bdfa054af14765c872c70a6
2021-03-19 14:10:41 -04:00
Tao Sang
ca0cc36ef4
SWDEV-273138 - Update canUseStreamWaitValue retrieving
...
Remove canUseStreamWaitValue from hipDeviceProp_t.
Update canUseStreamWaitValue retrieving in hipDeviceGetAttribute().
Change-Id: I275bd42d8b03e141caaf9f1bc6b714e51ca72dfb
2021-03-18 22:42:35 -04:00
cjatin
2afa40873a
SWDEV-272811 - Using OCML functions for conversion of fp to int
...
Change-Id: Id0c02bf6a2e0553d522035b078a9db4cd3fad215
2021-03-18 11:43:30 -04:00