Commit graph

5553 Commits

Autor SHA1 Nachricht Datum
Sourabh Betigeri 40e2603bd0 SWDEV-294375 - Adding coalesced_groups to ROCm CG
Change-Id: I4098e1970ae2c388171fa73deb5bc023ed1b7a68


[ROCm/clr commit: 523e5a007c]
2022-02-07 11:29:46 -05:00
Satyanvesh Dittakavi 51f8fc06e1 SWDEV-306940 - Fix hipamd errors/warnings found by CppCheck
Change-Id: Ia93d4f5262ea4269d8031edbfd27033b887e5300


[ROCm/clr commit: 6e562f4d83]
2022-02-05 08:42:47 -05:00
Ajay 61905bdb9f SWDEV-320586 - rpath to use cmake_prefix_path for install/lib/libamdhip64
Change-Id: I70c4f66d27c29e874275be6e594dc7d22491054d


[ROCm/clr commit: c792ff7bfc]
2022-02-04 11:58:42 -05:00
Freddy Paul 9b9c49596e hip:Fix and install cmake targets for hip package
hip-targets.cmake was missing from the install after the switch
to new method.
Added hip-targets, hip-lang-targets for the build type and fixed
hard coding to ROCm install path.

Change-Id: Idd6d58f9eeeca6d9dc5ac8632d6ffb4956d845e1


[ROCm/clr commit: 8c3965ec55]
2022-02-03 12:36:43 -05:00
Payam 7e6294793e SWDEV-317354 - adding nullptr check for hipGraph
for hipGraphAddHostNode

Change-Id: I49645457887be53654e20abe6ce6b42278e41677


[ROCm/clr commit: ab8d23f2dd]
2022-02-02 15:57:08 -05:00
Payam 2443f2f954 SWDEV-317141 - add param check for Graph Api
for hipGraphExecMemsetNodeSetParams

Change-Id: I748c7f273da08ace185bdee2b82fc0cd8584bdca


[ROCm/clr commit: 724717752e]
2022-02-02 12:38:48 -05:00
Satyanvesh Dittakavi 6bbcf08fc8 SWDEV-292714 - Added support for hipPointerGetAttribute and
hipDrvPointerGetAttributes

Change-Id: I44a0b5c5d9eb5a9a63406b11e8de83e5cb245a59


[ROCm/clr commit: 760f275861]
2022-02-02 05:33:07 -05:00
Sarbojit Sarkar 2d5abacc5e SWDEV-320901 - Added HIP_INIT_API_NO_RETURN
Change-Id: Ic79acc21f6a92fcb24527d4f121ae96b13192f75


[ROCm/clr commit: 3e2cc04da5]
2022-01-31 23:29:29 -05:00
Freddy Paul 3b13118ea8 hip:Switch to component based packaging.
Current way of packaging using custom command for each pacakge
is not helping to enable debug symbols.Debug symbols package
creation fail due to missing parameters from the build stage.
With the new approach all the parameters at build stage will be
inheritted by sub-cmake files and hence enables debug-symbols
package creation.

Change-Id: I933710ad4b67d913c011539ac9e51686604300f6


[ROCm/clr commit: a01b481e45]
2022-01-31 13:36:48 -05:00
Ajay 91ba078604 SWDEV-313082 - hipGraphMemsetNodeSetParams invalid params
Change-Id: Ibe57df8d7d583daf9ba9c7a86863eacca4868f3a


[ROCm/clr commit: cb79dc7486]
2022-01-28 19:27:32 -05:00
Ajay c27ec6c94e SWDEV-316467 - hipGraphMemcpyNodeSetParamsToSymbol negative scenarios
Change-Id: Ic2a6ce1572f35dabe754c9459690448c49bbd4a6


[ROCm/clr commit: 0440d945e8]
2022-01-27 21:25:20 +00:00
Sarbojit Sarkar 6b86bb1618 SWDEV-315595 - Fix for hipGraphAddMemcpyNodeToSymbol -ve tests
Change-Id: If389f533567a236a598f16e4f2c477157beb2e56


[ROCm/clr commit: 15dd9fc1da]
2022-01-26 22:42:04 -05:00
Sourabh Betigeri 9b118a81d3 SWDEV-317253 - int underflow causes an assertion with no node in graph. This fixes it.
Change-Id: I9bc293866d69c803381762256ce31f3d80d2afda


[ROCm/clr commit: 76f65a0a3d]
2022-01-26 18:25:03 -05:00
Payam 13ca42f17d SWDEV-318704 fix for GL-interop second render
Change-Id: I27403c0444350a64a11b1beee071b0f1dbe8e3f7


[ROCm/clr commit: 96ae15fe5d]
2022-01-26 05:20:55 -05:00
haoyuan2 cb3f8b4f97 SWDEV-319128 - workaround explicit loading functional issue in Blender
Change-Id: I9d56293b5e2e72874b1160fce62ee68365741d5c


[ROCm/clr commit: fb07b4e097]
2022-01-25 22:45:24 -05:00
Ajay 4048789d06 SWDEV-317111 - null ptr check for hipGraphGetEdges
Change-Id: I00b7e4d05864b01bfabdf11ea9ba1f2987e4707c


[ROCm/clr commit: 1f00d8c541]
2022-01-25 14:43:13 -05:00
Ajay beab7326a9 SWDEV-318496 - packaging license files for HIP project
Packages: hip-devel, hip-doc, hip-runtime-amd, hip-runtime-nvidia,
hip-samples, hip-tests, hipcc

Change-Id: I936f754fd21ea53956945e1f225aaeefd33207b2


[ROCm/clr commit: 735826464d]
2022-01-24 16:27:39 -05:00
haoyuan2 0dc8886919 SWDEV-318872 - workaround explicit loading functional issue in Blender
Change-Id: I6857a8724f164641bc8d656367736e0fa16a158e


[ROCm/clr commit: 167810d6c8]
2022-01-24 14:55:08 -05:00
David Salinas 407ff9fcef Correct roc-obj-extract URI handling and roc-obj-ls error handling
swdev-284841 : roc-obj-extract URI handling

  - The size fragment is optional and defaults to the rest of the file.
  - The size and offset are allowed in either order. The curent Perl is assuming the order and not checking the actual key value.
  - Should allow other fragments to be present and ignored.
  - Also suggest stating that the URI needs to be quoted if used in a shell command due to the "&".

swdev-313410: roc-obj-ls/roc-obj are not working as epxected for some cases
Change-Id: Iefd805c20a8dc525a8ea4a076d63e62eb631ffb3


[ROCm/clr commit: d5c46676b5]
2022-01-24 10:31:10 -05:00
Sarbojit Sarkar 3c42e9cd0f SWDEV-317925 - Fix for remove dependency issue
Change-Id: Ifbd3e9892f328d9c0d029c81d7bd08d9d444a318


[ROCm/clr commit: e34fd8abe1]
2022-01-23 23:11:32 -05:00
Sarbojit Sarkar fe0a0d66a7 SWDEV-317974 - Fixed missing dependent node issue
Change-Id: Ia143c9ef93c465a5be67238d7f802c274da751bc


[ROCm/clr commit: 7fe2a6e62f]
2022-01-23 23:10:58 -05:00
pghafari 2ee642823d SWDEV-245531 - GLInterop adding register image
Change-Id: I075bec49b7ad5f78336586b9d55e259717c4c000


[ROCm/clr commit: 44e0c246f8]
2022-01-23 14:59:18 -05:00
Konstantin Zhuravlyov 120f578338 hipcc.bin and hipconfig.bin packaging updates:
- revert ad86c8a225
  - package hipcc.bin and hipconfig.bin in hip-devel

Change-Id: Iadfd2f64780b7ee2dce677436a7882d7fca74fb3


[ROCm/clr commit: d7ec25785d]
2022-01-21 09:51:50 -05:00
ajay a4e46d09e2 SWDEV-314307 - hipStreamWaitEvent to wait on remote IPC events
Change-Id: Id97524ae9bc86d38376af2b0240f10d0dd5cc584


[ROCm/clr commit: bafc5bb30f]
2022-01-19 20:10:02 +00:00
Payam 3ba48819a1 SWDEV-245531 - GLInterop adding register image
Change-Id: Ib16b647e2a1b8f3c578a9689d3987121c984250b


[ROCm/clr commit: 5f9d779324]
2022-01-14 15:57:24 -05:00
Ajay 277110a7d0 SWDEV-1 - hip change for hip Debug option in Windows
Change-Id: Ied0005d8373868c0e351bb981ea0a9ea90b1d4b7


[ROCm/clr commit: 57f768f9f5]
2022-01-14 01:49:55 +00:00
Maneesh Gupta 501b613442 Revert "SWDEV-316155 - Fix for P2P sample failure"
This reverts commit 74269eb547.

Reason for revert: Fixed via a different patch

Change-Id: I1743afdd7b8516b39501839d74bbed6bdb797e0c


[ROCm/clr commit: ff1f1ba867]
2022-01-13 02:27:47 -05:00
Satyanvesh Dittakavi bdc978c0e2 SWDEV-318128 - Add Null checks in hipGraphExecHostNodeSetParams API
Change-Id: I1363b16646b7629c827ace4db4c7b0da32486edb


[ROCm/clr commit: dcd0322f52]
2022-01-13 02:16:24 -05:00
Nick Curtis 925805d186 Fix missing system-scope for CAS in atomic[Min|Max]_system
Change-Id: Ieb0ca79eaeba3a0ae56739246e08135a25a8d6dd


[ROCm/clr commit: c8103470d5]
2022-01-12 22:53:11 -05:00
Sarbojit Sarkar 8f0c0822ad SWDEV-313905 - Fix segfault
Change-Id: I7b7bbe80a169014b5d4a8de134351b9f8bf11735


[ROCm/clr commit: 017603703b]
2022-01-11 23:40:25 -05:00
Sarbojit Sarkar 641d0b9d6f SWDEV-315545 - Fix for hipMemsetAsync crash
Change-Id: I39ad0dacf4357aa6f9d0c6cf92a6a7d14bd219c0


[ROCm/clr commit: c4f6037ae8]
2022-01-10 06:48:10 -05:00
haoyuan2 3bdc78b813 SWDEV-315924 - align with CUDA to define vector3 data type
Change-Id: I7654fb757b4c387a762f384ccdd3f2c8555d149f


[ROCm/clr commit: 0f94653447]
2022-01-06 17:35:56 -05:00
Sarbojit Sarkar 74269eb547 SWDEV-316155 - Fix for P2P sample failure
Change-Id: I95a70d44949c59319a9a09f84be771740c3f0521


[ROCm/clr commit: 845b923507]
2022-01-06 06:35:15 -05:00
Tao Sang 8929cc4544 SWDEV-315590 - Fix texture vector issue
Apply mapFrom() to related texture device functions.

Change-Id: Ifed918c87373b784780b2180320ccb746845daff


[ROCm/clr commit: 78de8cd672]
2022-01-04 19:26:14 -05:00
Tao Sang 77bb6fd205 SWDEV-315590 - Fix texture fetch issue
Add mapFrom() to map "float __attribute__((ext_vector_type(4)))"
of output of low-level device function to right vector.

Change-Id: Ifed915c87273b784780b2180320ccb746845dafb


[ROCm/clr commit: 7de480760b]
2022-01-04 13:38:57 -05:00
haoyuan2 95921782b0 check if the input mode is valid, SWDEV-306130
Change-Id: I72fda84ca3159b00062d98d49be62cae48701a32


[ROCm/clr commit: bd719ceb20]
2021-12-28 21:09:31 -05:00
Satyanvesh Dittakavi 5cb71910d2 Revert "SWDEV-304151 - Reset file descriptor after Module Load"
This reverts commit 6ef56f09f1.

Reason for revert: To address SWDEV-316216

Change-Id: Ib8e6ac4b87c5e52757cd8f45958f39f012823c60


[ROCm/clr commit: a6b2294b93]
2021-12-23 06:11:43 +00:00
haoyuan2 abbb7b9bc5 SWDEV-316052 - fix HIP_Directed tests build error
Change-Id: I782c68859f77934f2cf672ee53378e51b1cb1ddd


[ROCm/clr commit: 8a8581edf5]
2021-12-21 03:21:53 -05:00
Aakanksha ad86c8a225 Package hipcc binaries
(hipcc.bin and hipconfig.bin)

Change-Id: Ib13cbc5fb33ffd03c5fada46f13875bd5ac47800


[ROCm/clr commit: f313c2ea80]
2021-12-20 23:07:45 +00:00
haoyuan2 96a8e4e234 SWDEV-303956 - add make_int2/3/4 and make_float2/3/4 function support
Change-Id: I0260d1a9d2ac66e84dc31a80b0995616ef78b0fe


[ROCm/clr commit: a8b30291c3]
2021-12-15 14:57:36 -08:00
haoyuan2 7301a84351 SWDEV-303956 - align with CUDA to define float4 data type
Change-Id: I9ad1315e5899a8c0cf1812302b27010d88015f88


[ROCm/clr commit: 937415141c]
2021-12-14 15:22:43 -05:00
anusha GodavarthySurya a6227d8d87 SWDEV-313856, SWDEV-313907, SWDEV-313915 - Export StreamCapture APIs, handle few graph negitive senarios, set event, parallelstreams for endcapture
Change-Id: I3c6008e1a1195cd2e1a14ef24c943ef6b54033ab


[ROCm/clr commit: e3585209d7]
2021-12-14 05:54:13 -05:00
haoyuan2 86520ebd83 SWDEV-311585 - workaround dynamic loading functional issue in Blender
Change-Id: I815724c0bdcb712e40ec1ed11b9632fab7243f69


[ROCm/clr commit: d1a491b30b]
2021-12-10 11:52:15 -08:00
haoyuan2 9735c1b617 SWDEV-290298 - add a flag to indicate the primary context active status
Change-Id: Id13d132923fcef697b689e75b6aa04060923a2ad


[ROCm/clr commit: 981ef060fb]
2021-12-09 23:32:16 -05:00
Ajay f00e0a2df4 SWDEV-273235 - Linux: catch2 test packaging
Change-Id: I5b4e44b367d9310a66ea70c31c3e15ad45589166


[ROCm/clr commit: 9ed0c29bb6]
2021-12-09 17:51:25 -05:00
Satyanvesh Dittakavi a8fde39f74 SWDEV-311744 - Update floating point max/min atomic implementation
Clang builtins doesnt yet support max/min atomics with float/double
parameters, Hence modify atomicMax/Min to use compare and swap
implementation

Change-Id: Ia351f9b136129fe25f0eddcbbb17549553247182


[ROCm/clr commit: f3c5f12d26]
2021-12-07 13:29:44 -05:00
Satyanvesh Dittakavi 74bd37bd34 SWDEV-309286 - Add check to limit host malloc upto system memory size
Change-Id: I4a0f55d6f7faa323b16d9b8fb12e876900da1bbc


[ROCm/clr commit: c9532093ce]
2021-12-07 12:02:29 -05:00
Sarbojit Sarkar c6afc74798 SWDEV-313905 - Fix for hipLaunchCooperativeKernel crash
Change-Id: I41205171a9607962ab6b66f2ebc6f8dc9db7f158


[ROCm/clr commit: 9a51909058]
2021-12-05 23:15:06 -05:00
Sarbojit Sarkar cf01ea2dae SWDEV-313722 - Fix for segfault while using rocprof
Change-Id: Ia00868e058069ee73ce4a852ab2529d8f785a4b7


[ROCm/clr commit: 9a3cb1608b]
2021-12-05 23:14:26 -05:00
Tao Sang 68c75c9fb7 SWDEV-303204 - Disable texture/image Apis on some devices
If the target device doesn't support image,
compiler will send out unavailable error if device texture apis
are called; and host texture apis will return hipErrorNotSupported.
Remove useless include/hip/amd_detail/texture_functions.h.
Add hipDeviceAttributeImageSupport attribute to check image
support in runtime.
Add __HIP_NO_IMAGE_SUPPORT(=1) macro in device code to indicate
texture apis not supported.
Change-Id: Ia891493e681a61980a2444859a90e046a9ebea39


[ROCm/clr commit: 5acc8b5102]
2021-12-04 08:14:08 -05:00