Commit Graph

13474 Commits

Author SHA1 Message Date
Ashutosh Mishra e3fe3a6109 SWDEV-306262 - Fix RUNPATH
RUNPATH was not changed to correct ROCM_RPATH
Packaged proper binaries after RUNPATH correction

Signed-off-by: Ashutosh Mishra <Ashutosh.Mishra@amd.com>

Change-Id: I97443cc0d6cb1ecf7352e3c83ae0fe38a8f339bf
2022-02-08 15:14:05 -08:00
Payam 9faac0fe8d SWDEV-321079 - Blender GL interop Linux fix
Change-Id: I920d30c575627c443a1d2e93c02abf8658bc3978
2022-02-08 14:17:38 -05:00
Payam 1f8c42deee SWDEV-315880 - adding Graph nullptr checks
Change-Id: I84a70f9c2606cb480b32953631878df40d71a675
2022-02-07 22:35:24 -05:00
German Andryeyev 0bf395af39 SWDEV-286150 - Don't report OCL2.2 support
OCL2.2 requires SPIR-V and runtime doesn't support it.
Make sure PAL backend doesn't report any SPIR-V support.

Change-Id: I8d179069674205b54f7d20d149bcb675bee5cdb0
2022-02-07 17:34:39 -05:00
Payam f501317b5b SWDEV-321160 - Checking if GL-Context is initialized
Change-Id: I5482fa33bcf9a1587ee68ed37f2058b7ed7e706a
2022-02-07 15:05:55 -05:00
German Andryeyev be6a06384e SWDEV-307184 - Add support for the new metadata
Metadata in Codeobject version 5 is the extension of CO3 and CO4.
Add the detection of the new fields and program them in
the setup of the kernel arguments.

Change-Id: I27e58df77320ad00f4f16d35912668db803826af
2022-02-07 14:05:58 -05:00
Sourabh Betigeri 523e5a007c SWDEV-294375 - Adding coalesced_groups to ROCm CG
Change-Id: I4098e1970ae2c388171fa73deb5bc023ed1b7a68
2022-02-07 11:29:46 -05:00
Satyanvesh Dittakavi 6e562f4d83 SWDEV-306940 - Fix hipamd errors/warnings found by CppCheck
Change-Id: Ia93d4f5262ea4269d8031edbfd27033b887e5300
2022-02-05 08:42:47 -05:00
Ajay c792ff7bfc SWDEV-320586 - rpath to use cmake_prefix_path for install/lib/libamdhip64
Change-Id: I70c4f66d27c29e874275be6e594dc7d22491054d
2022-02-04 11:58:42 -05:00
Chauncey Hui d554960ae7 SWDEV-2 - Change OpenCL version number from 3418 to 3419 2022-02-04 03:00:04 -05:00
German Andryeyev 81ed495bbd SWDEV-300515 - Expose RT CU granularity
Change-Id: I15369eb522c29035cd67cd36a9a88517ef3aca59
2022-02-04 00:04:58 -05:00
Freddy Paul 8c3965ec55 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
2022-02-03 12:36:43 -05:00
Satyanvesh Dittakavi 824704c87b SWDEV-317716 - Add uuid in device info structure
Change-Id: Ie7f48d0faf7d722bd9bb8bd0f8962a7832dbe4f6
2022-02-03 12:17:28 -05:00
Todd tiantuo Li fbbae8055f SWDEV-297292 - add gfx90c:xnack+ support as gfx90d
Change-Id: I90e28981a7cbc0f9a0105c16e9dda3ad8ac57f51
2022-02-02 14:24:19 -08:00
Payam ab8d23f2dd SWDEV-317354 - adding nullptr check for hipGraph
for hipGraphAddHostNode

Change-Id: I49645457887be53654e20abe6ce6b42278e41677
2022-02-02 15:57:08 -05:00
Payam 724717752e SWDEV-317141 - add param check for Graph Api
for hipGraphExecMemsetNodeSetParams

Change-Id: I748c7f273da08ace185bdee2b82fc0cd8584bdca
2022-02-02 12:38:48 -05:00
Satyanvesh Dittakavi 760f275861 SWDEV-292714 - Added support for hipPointerGetAttribute and
hipDrvPointerGetAttributes

Change-Id: I44a0b5c5d9eb5a9a63406b11e8de83e5cb245a59
2022-02-02 05:33:07 -05:00
Chauncey Hui 00f724e465 SWDEV-2 - Change OpenCL version number from 3417 to 3418 2022-02-01 03:00:44 -05:00
Sarbojit Sarkar 3e2cc04da5 SWDEV-320901 - Added HIP_INIT_API_NO_RETURN
Change-Id: Ic79acc21f6a92fcb24527d4f121ae96b13192f75
2022-01-31 23:29:29 -05:00
Freddy Paul a01b481e45 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
2022-01-31 13:36:48 -05:00
Saleel Kudchadker 33aca5a4a6 SWDEV-301947 - Use new enum for CU count
Use HSA_AMD_AGENT_INFO_COOPERATIVE_COMPUTE_UNIT_COUNT to get compute
units. This is needed to work around assymentric CU harvesting bug on
gfx90a. Add a new device property to get the max available CUs on the
device.

Change-Id: I878f38f14f16c1af01fc0a77157aea1e816a63b8
2022-01-31 12:57:50 -05:00
Ajay cb79dc7486 SWDEV-313082 - hipGraphMemsetNodeSetParams invalid params
Change-Id: Ibe57df8d7d583daf9ba9c7a86863eacca4868f3a
2022-01-28 19:27:32 -05:00
Chauncey Hui 87dd8dd0d7 SWDEV-2 - Change OpenCL version number from 3416 to 3417 2022-01-28 03:00:07 -05:00
Ajay 0440d945e8 SWDEV-316467 - hipGraphMemcpyNodeSetParamsToSymbol negative scenarios
Change-Id: Ic2a6ce1572f35dabe754c9459690448c49bbd4a6
2022-01-27 21:25:20 +00:00
German Andryeyev b169956c78 SWDEV-318505 - Update HSAIL xnack path
Fix a typo with new line

Change-Id: I7fee63409b491a1f214117b68cfffa0492aa0743
2022-01-27 13:07:11 -05:00
Chauncey Hui 87b6c5f14c SWDEV-2 - Change OpenCL version number from 3415 to 3416 2022-01-27 03:00:09 -05:00
Sarbojit Sarkar 15dd9fc1da SWDEV-315595 - Fix for hipGraphAddMemcpyNodeToSymbol -ve tests
Change-Id: If389f533567a236a598f16e4f2c477157beb2e56
2022-01-26 22:42:04 -05:00
Konstantin Zhuravlyov 511065e301 SWDEV-320486 - Correctly set HSAIL_ELFTOOLCHAIN_DIR
Change-Id: Icb39b376eaf3a8132b210bd1bd4eeecaa97bea9d
2022-01-26 18:38:25 -05:00
Sourabh Betigeri 76f65a0a3d SWDEV-317253 - int underflow causes an assertion with no node in graph. This fixes it.
Change-Id: I9bc293866d69c803381762256ce31f3d80d2afda
2022-01-26 18:25:03 -05:00
Freddy Paul 8fa82f6e64 SWDEV-309024 - Providing debug information for released libraries
Current packaging structure using custom command fail to work for
generating debug symbols.Hence changing the packaging to more
conventional way of using single CMakeLists.txt and split packages
using components like binary, dev and icd

Change-Id: I7fcf5f8afc3602f77576f2a13aa4916acb10888b
2022-01-26 08:14:05 -08:00
Payam b473a80f6a SWDEV-245531 - GLInterop adding svm support
Change-Id: Id7f2a7a214f5ad692b4a7acf26cfb1dc423ed54a
2022-01-26 08:17:58 -05:00
Payam 96ae15fe5d SWDEV-318704 fix for GL-interop second render
Change-Id: I27403c0444350a64a11b1beee071b0f1dbe8e3f7
2022-01-26 05:20:55 -05:00
Chauncey Hui 7727ea394c SWDEV-2 - Change OpenCL version number from 3414 to 3415 2022-01-26 03:00:06 -05:00
haoyuan2 fb07b4e097 SWDEV-319128 - workaround explicit loading functional issue in Blender
Change-Id: I9d56293b5e2e72874b1160fce62ee68365741d5c
2022-01-25 22:45:24 -05:00
Ajay 1f00d8c541 SWDEV-317111 - null ptr check for hipGraphGetEdges
Change-Id: I00b7e4d05864b01bfabdf11ea9ba1f2987e4707c
2022-01-25 14:43:13 -05:00
Ajay 735826464d 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
2022-01-24 16:27:39 -05:00
haoyuan2 167810d6c8 SWDEV-318872 - workaround explicit loading functional issue in Blender
Change-Id: I6857a8724f164641bc8d656367736e0fa16a158e
2022-01-24 14:55:08 -05:00
David Salinas d5c46676b5 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
2022-01-24 10:31:10 -05:00
German Andryeyev a543d4a860 SWDEV-318505 - Update HSAIL xnack path
Report proper target id for xnack in HSAIL path. Runtime
will use ISA table and report hsailName().
Fix offline compilation path for PAL.

Change-Id: Ic0250bf6b9c193d867aec9800a319da1bf00c3ee
2022-01-24 09:27:32 -05:00
Sarbojit Sarkar e34fd8abe1 SWDEV-317925 - Fix for remove dependency issue
Change-Id: Ifbd3e9892f328d9c0d029c81d7bd08d9d444a318
2022-01-23 23:11:32 -05:00
Sarbojit Sarkar 7fe2a6e62f SWDEV-317974 - Fixed missing dependent node issue
Change-Id: Ia143c9ef93c465a5be67238d7f802c274da751bc
2022-01-23 23:10:58 -05:00
pghafari 44e0c246f8 SWDEV-245531 - GLInterop adding register image
Change-Id: I075bec49b7ad5f78336586b9d55e259717c4c000
2022-01-23 14:59:18 -05:00
Konstantin Zhuravlyov d7ec25785d hipcc.bin and hipconfig.bin packaging updates:
- revert f313c2ea80
  - package hipcc.bin and hipconfig.bin in hip-devel

Change-Id: Iadfd2f64780b7ee2dce677436a7882d7fca74fb3
2022-01-21 09:51:50 -05:00
ajay bafc5bb30f SWDEV-314307 - hipStreamWaitEvent to wait on remote IPC events
Change-Id: Id97524ae9bc86d38376af2b0240f10d0dd5cc584
2022-01-19 20:10:02 +00:00
Chauncey Hui e6225e07d0 SWDEV-2 - Change OpenCL version number from 3413 to 3414 2022-01-19 03:00:08 -05:00
Alex Xie 15101e704b SWDEV-312368 - Segmentation fault in test_gl
When OCL failed to obtain function pointer from GL, we should not call it.

Change-Id: I50f69d270ce445386906a286e44c4e8c83722302
2022-01-14 17:35:31 -05:00
Payam 5f9d779324 SWDEV-245531 - GLInterop adding register image
Change-Id: Ib16b647e2a1b8f3c578a9689d3987121c984250b
2022-01-14 15:57:24 -05:00
Ajay 57f768f9f5 SWDEV-1 - hip change for hip Debug option in Windows
Change-Id: Ied0005d8373868c0e351bb981ea0a9ea90b1d4b7
2022-01-14 01:49:55 +00:00
Chauncey Hui d04fdd9356 SWDEV-2 - Change OpenCL version number from 3412 to 3413 2022-01-13 03:00:05 -05:00
Maneesh Gupta ff1f1ba867 Revert "SWDEV-316155 - Fix for P2P sample failure"
This reverts commit 845b923507.

Reason for revert: Fixed via a different patch

Change-Id: I1743afdd7b8516b39501839d74bbed6bdb797e0c
2022-01-13 02:27:47 -05:00