نمودار کامیت

6117 کامیت‌ها

مولف SHA1 پیام تاریخ
Vladislav Sytchenko b41d5d73d4 SWDEV-297808 - Free sampler when destroying textures
Change-Id: Idaab76392d18c7f5fedc89497e93f0d17835001a
2021-08-09 21:49:36 -04:00
Julia Jiang 8835b897d5 SWDEV-286322 - Remove execution permission
Change-Id: I96e603fc8d407c3a76fa1053bad81e45744b59ad
2021-08-05 14:04:06 -04:00
Sourabh Betigeri 8a4ca88477 SWDEV-297689 - Moving the vendor specific builtin function calls to hip_cooperative_helper.h header file
Change-Id: I797bdde8fbb01285dfda0eac0f960ded260beb8e
2021-08-02 19:14:42 -04:00
Rahul Garg ec39f62ee1 SWDEV-297563 - Move surface types
Change-Id: Ie2393fb32a30a76c39c81ce17497fa3b131a85b1
2021-08-02 18:48:15 +00:00
Rahul Garg 3dd9dbb359 SWDEV-297563 - Move declarations to hip
Change-Id: Ifdab79945ea2e625e8cef5cd71d638552e9a740b
2021-08-02 11:56:08 -04:00
pghafari 65fcb6a0aa SWDEV-245531 - GLInterop: linux - Buffer Interop
in progress...

Change-Id: I6f2cd8ee19ffef93e4f2aa6a08e002a13722d78a
2021-07-30 02:43:41 -04:00
Rahul Garg 91df8fc0e9 Revert "SWDEV-293742 - script to update the copyrights end year"
This reverts commit 5b5f934d58.

Reason for revert: Copyright year to be updated only when a file is getting modified in that year. 

Change-Id: Id1ece634dce7e67da9f3f6e10103ef6214e72dab
2021-07-29 19:06:52 -04:00
kjayapra-amd bf677f91af SWDEV-282289 - Do not compare Pre-processor directive with string.
Change-Id: I9cd76c57a5cdea8059f69cc56ba9dca278b4d04c
2021-07-29 06:55:42 -04:00
Anusha GodavarthySurya 50e57158eb SWDEV-287869 - [HIP] Package rename
Change-Id: Ic4ddece01bfc34d586cfaba3193c56ce0540626d
2021-07-29 05:55:44 -04:00
Tao Sang c87a352288 SWDEV-294591 - Fix hipEventIpc failure on NV
make hipIpcOpenEventHandle has the same behavour of cudaIpcOpenEventHandle.

Change-Id: I3fe6dbc35a7b14ba9119df297b7885df83d28149
2021-07-28 20:34:11 -04:00
Vladislav Sytchenko 578b6d32f4 SWDEV-240806 - Fix Windows build
Fixes error "All control paths should return a value".

Change-Id: I4178ee4b644cd54629bd2a2f4c57eb58d2709ab8
2021-07-28 19:18:04 -04:00
Tao Sang 3452a09975 SWDEV-296812 - Fix LINK_LANGUAGE issue
LINK_LANGUAGE support has some issue in CMake versions from 3.18.0 to
3.19.8 when complex libs' dependence exists. Jump to a known CMake
version 3.20.0 where the issue is fixed.

Change-Id: I3fe6dbc35a7b14baa210df297b7885df83d28178
2021-07-28 11:34:38 -04:00
Anusha GodavarthySurya a71f54d9e9 SWDEV-240806 - Added API hipGraphAddMemcpyNode1D, hipGraphAddEmptyNode, hipGraphExecKernelNodeSetParams
Change-Id: I0d7ec8c0ea1abc3fc0f1e10fa7865f355d9cf2ad
2021-07-28 00:09:16 -04:00
Vladislav Sytchenko a89d34d0c9 SWDEV-292547 - Fix Windows build
This addresses the warning `not all control paths return a value`.

Change-Id: Ibbb5eda9758dca5cc94c8efba9bbc6910362d6ba
2021-07-27 10:52:28 -04:00
German Andryeyev a852370a25 SWDEV-290384 - Add compilation option for direct disaptch
DISABLE_DIRECT_DISPATCH flag will control compilation.
Default is OFF.

Change-Id: I7d4207b8a79f5e3eb61440c5fbe5034c6ce75cce
2021-07-27 00:07:27 -04:00
Sarbojit Sarkar c3ca1faee7 SWDEV-292547 - hipStreamPerThread support
Change-Id: Id621ce073b0fee9eac03c59ffb78b197fda4ddb5
2021-07-26 20:51:51 -04:00
Tao Sang 203c4b9b35 SWDEV-294594 - Fix hipPointerGetAttributes test on NV
Replace return value of hipPointerGetAttributes() on NV from
hipErrorUnknown to hipErrorInvalidValue if memory has been freed.

Change-Id: I3fe6dbc35a7a14aa9109df297b7885df83d28149
2021-07-26 11:30:22 -04:00
Tao Sang b58355b065 SWDEV-294596 - Make hipModuleGetGlobal match cuda
Make hipModuleGetGlobal match cuModuleGetGlobal behavour.
That is, if one of the first two parameters is nullptr, ignore it.

Change-Id: I3fe6dbc35a7b14aa9119df297b7885df83d28048
2021-07-23 23:06:56 -04:00
Rahul Garg ba0220578e SWDEV-288929 - Fix typo
Change-Id: I56acb7ce3021304b2cd2c8bc2b840cbdcdefd072
2021-07-23 07:10:31 -04:00
Sourabh Betigeri cbbf627662 SWDEV-292523 - [hipamd]Change in the signature of streamOperations APIs, particularly 'value' arg to unsigned 'value'
Change-Id: I7e31508622865b9986c886c4218ba394ffe9cf9e
2021-07-22 16:24:27 -04:00
Vladislav Sytchenko d3062d3bc2 SWDEV-240807 - Fix Windows build
These are defined as structs in HIP headers, not as classes.

Change-Id: Ie53424a026424c71fd45db3a60e5be906d472c5d
2021-07-21 20:40:16 -04:00
Vladislav Sytchenko f9732d7f20 SWDEV-286884 - Correct hiprtc installation on Windows
Generated .lib binary should go into the lib/ folder.

Change-Id: I552552745457368dc48f3a4b727a731a6bea822b
2021-07-21 09:29:17 -04:00
Christophe Paquot 9a510f1cf1 SWDEV-281658 - Preserve the callback IDs enum ordering
Use continue instead of break to make sure we process the
whole hip_runtime_api.h file.

Change-Id: Ied2a8df69ed9eb1dc04d6b2d0d7b117ce2a2b6b3
2021-07-20 20:12:21 -07:00
Christophe Paquot 223c0364f8 SWDEV-240807 - Fix header file
Remove class useage from header file

Change-Id: Ibe1a59241f000cc162dd865484c313e56c4db95f
2021-07-20 20:32:55 -04:00
Julia Jiang 70e18827a6 SWDEV-288929 - update hipamd document
Change-Id: I638afb4c7f0b96df3f0c1cc0b3bf04ab57692d27
2021-07-19 17:21:39 -04:00
kjayapra-amd a8e0ab621e SWDEV-282289 - Use preprocessor directive for atomicAdd to support backward compatibility.
Change-Id: I73f058040afaa782bf6a491b8761a040fbd5b571
2021-07-19 10:46:01 -04:00
David Salinas 11c28b9fe3 SWDEV-287640 - rename llvm-amdgpu pkg to rocm-llvm
package llvm-amdgpu is being renamed to rocm-llvm

Change-Id: Ifc0a4deef981b3cced6225b5d1ba1a07d34f0e8b
2021-07-16 14:44:01 -04:00
Vladislav Sytchenko f7f418c101 SWDEV-240807 - Fix Windows builds
Unimplemented APIs should not be in the linker export script.

Change-Id: Ieabfc829bf950bc49e79f2851fb247a4c95b9427
2021-07-15 11:34:49 -04:00
Tao Sang e0ae326f4a SWDEV-294588 - Enable NV printf DTests
Add hipLimitPrintfFifoSize.
Add hipDeviceSetLimit(hipLimit_t limit, size_t value) for NV.

Change-Id: Ife884e0c3081b317bdadc8bec7814d1d7c60153a
2021-07-15 11:02:13 -04:00
Aaron Enye Shi 58246c78d7 SWDEV-283267 - HIPRTC Pass COMGR correct msvc flags
On Windows, to enable comgr and hiprtc to enable compilation,
provide the correct target flags. Otherwise comgr cannot
figure out which platform to compile for.

Change-Id: I6426e518c8d695342cb49df0ebdeac0437da83df
2021-07-15 08:34:47 -04:00
Jatin Chaudhary 7b8b7a9ba1 SWDEV-283267 - Deprecate -use-pch option and add hiprtc builtin header for all hiprtc programs
Change-Id: I2ed98c65fb310d89a787510c6a362ee0929b83d9
2021-07-15 08:34:24 -04:00
Aaron Enye Shi ff8c20c092 SWDEV-294395 - HIPRTC add definitions for amd_hip_vector_types.h
Add typedefs for int32 and int64. Add templates provided in
system headers such as type_traits used in our HIP header
amd_hip_vector_types.h. Make replacements for clang builtin,
__is_convertible_to.

Change-Id: I4129b3f4f37238e2dda5b64d55e5cffe4d4480c6
2021-07-15 05:41:51 -04:00
Anusha GodavarthySurya e5cbfa8ca9 SWDEV-240807 - Added Implementation for few more graph APIs
Change-Id: I76336a22233a208a3f54ff9e90f0c5bf4a1bddb4
2021-07-14 20:56:36 -07:00
kjayapra-amd 4aab5c29ff SWDEV-278500 - Implement missing atomic APIs and types to match CUDA.
Change-Id: I5f5bd94af9b68853bf354c8f90da217434934ddd
2021-07-13 22:15:57 -04:00
Vladislav Sytchenko 08ecf21ddf SWDEV-281658 - Disable HIP profiling for Windows
Currently generating profiling header is not supported on Windows,
hence why the feature is being disabled.

Change-Id: I1f6d70ec3d68356799c5ecc89469eb007ae894f8
2021-07-12 19:45:09 -04:00
agunashe 5b5f934d58 SWDEV-293742 - script to update the copyrights end year
Change-Id: I6a9c0f2537ed839228354f7a682d0cd5adc8f4fd
2021-07-12 17:46:57 -04:00
German Andryeyev 14019c2833 SWDEV-293583 - Correct a typo in hipStreamAttachMemAsync
Change-Id: I69eb4d126e36a783603e6097fc2faab661dc63cb
2021-07-12 13:14:09 -04:00
Rahul Garg 85c6e91d0b SWDEV-290076 - Initial update hipamd README
Change-Id: I60c6bd7f18d3293c876e631c1329e0d6eaa01fc8
2021-07-12 12:53:16 -04:00
Anusha GodavarthySurya 8ad7c705f7 SWDEV-294497 - remove rocclr from packaging
Change-Id: Ic9825114ece0c84b6490c44a441a5f8af0e772fc
2021-07-12 01:10:37 -04:00
Michael LIAO 68289d1dfe Revert "SWDEV-293408 Add atomicInc_system and atomicDec_system"
This reverts commit 45205c5e53.

Change-Id: I808b52758cc08882daa7fc889e53ca4c2fe64a61
2021-07-09 13:47:39 -04:00
agunashe d9d9e81acb SWDEV-293742 - Update copyrights end year for hipamd
Change-Id: I08f620f84563a9214b59f1b943ed091b67229eab
2021-07-09 12:08:39 -04:00
Vladislav Sytchenko c094ba97c6 SWDEV-273235 - Support versioning on Windows
Switch to using Perl for converting the Unix timestamp into a human
readable date. Perl is required anyway to run hipconfig, so this
solution should be relatively platform independent.

Change-Id: I2b09468d25daf574c74cebcac4f29d9aba5f18fb
2021-07-09 11:38:50 -04:00
Christophe Paquot d208afcb36 SWDEV-281658 - Preserve the callback IDs enum ordering
This change addresses the rocprofiler and HIP backward compatibility
issues. Before this patch, each time the hip_prof_str.h header was
generated, the ordering of the callbacks IDs changed, causing
incompatibilities between tools compiled with the old header and
runtimes compiled with the new headers (or vice versa).

To make the API callback IDs stable, the previous version of the header
is read to extract the enum values so that the same values can be
assigned in the new header.

Also, to make diffing different versions of the hip_prof_str.h easier
to read, all other sections (types, macros, helper functions) are now
alphabetically ordered.

If an update to the checked-in hip_prof_str.h file is required, the
cmake build is aborted and a message printed on stderr. The build will
not be successful until the checked-in hip_prof_str.h and the generated
hip_prof_str.h match.

Change-Id: I38b920e601185f7365a76a6584df91a7e8a11798
2021-07-09 11:17:09 -04:00
Satyanvesh Dittakavi 688288c2e3 SWDEV-1 - Rearrange error conditions in elapsed time
- when the first argument is null API should return hipErrorInvalidValue
- but when first and second argument both are null API was returning hipErrorInvalidHandle causing catch2 event tests to fail

Change-Id: I0978ce8b8462e4baa043be75a40b5bc45b036bb6
2021-07-09 00:47:12 -04:00
Aaron En Ye Shi e5a1f25424 SWDEV-284682 - Revert Workaround RTC macro in vector types
Re-enable __HIPCC_RTC__ in hip_vector_types.h which require
an upstream clang patch, 6823af0ca858b54e09e5be61a19d067ccd0bd6b7.
Once upstream patch has landed in mainline, merge this for
hiprtc functionality.

Change-Id: Ife884e0c3081b307bdadc8bec7804d1d7c60153b
2021-07-08 12:49:04 -04:00
Michael LIAO 45205c5e53 SWDEV-293408 Add atomicInc_system and atomicDec_system
- Also revise the implementation of atomicInc/atomicDec based on clang
  builtins.

Change-Id: Ia5e06e88c7be1da5f8fc7ac70037a120c604e343
2021-07-08 11:42:16 -04:00
Anusha GodavarthySurya 52bc5d7d1f SWDEV-240806 - hipGraph support for nvidia path
Change-Id: Idb51b3ed7ca65474afac0dc714c9097294d46bd2
2021-07-07 06:51:21 -04:00
Maneesh Gupta 1e35b26108 SWDEV-234709 - SWDEV-258907 - Reimplement assert() using the new fprintf_stderr facility
This reverts commit 18234e1d24.

Change-Id: Ic1bbf4e4e6f950934d9ba02224ef61a96bdd0e9b
2021-07-07 00:57:36 -07:00
Rahul Garg 67be27c184 SWDEV-293541 - Update copyright for external reference
Change-Id: I0e7522d24313c1974ff4936c81df3159794ea953
2021-07-06 12:56:39 -04:00
Tao Sang 53b3c8a3fb SWDEV-288593 - Rework "hip-config only adds compile and link options to C++"
This reverts commit b01fb5d72f.
Rework to support old cmake in order to fix mathlibs' failure.

Change-Id: I605fc633ba28df4fca95ceee83671600dd3f0b72
2021-07-05 22:36:37 -04:00