Commit Graph

12970 Commits

Author SHA1 Message Date
Payam 80026db2b3 SWDEV-321160 - Checking if GL-Context is initialized
Change-Id: I5482fa33bcf9a1587ee68ed37f2058b7ed7e706a


[ROCm/clr commit: f501317b5b]
2022-02-07 15:05:55 -05:00
German Andryeyev bd96ef9a34 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


[ROCm/clr commit: be6a06384e]
2022-02-07 14:05:58 -05:00
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
Chauncey Hui 69ccfd83e7 SWDEV-2 - Change OpenCL version number from 3418 to 3419
[ROCm/clr commit: d554960ae7]
2022-02-04 03:00:04 -05:00
German Andryeyev e77c8bebde SWDEV-300515 - Expose RT CU granularity
Change-Id: I15369eb522c29035cd67cd36a9a88517ef3aca59


[ROCm/clr commit: 81ed495bbd]
2022-02-04 00:04:58 -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
Satyanvesh Dittakavi 31aa18f1a9 SWDEV-317716 - Add uuid in device info structure
Change-Id: Ie7f48d0faf7d722bd9bb8bd0f8962a7832dbe4f6


[ROCm/clr commit: 824704c87b]
2022-02-03 12:17:28 -05:00
Todd tiantuo Li 1f9f598d92 SWDEV-297292 - add gfx90c:xnack+ support as gfx90d
Change-Id: I90e28981a7cbc0f9a0105c16e9dda3ad8ac57f51


[ROCm/clr commit: fbbae8055f]
2022-02-02 14:24:19 -08: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
Chauncey Hui d9a7a47f56 SWDEV-2 - Change OpenCL version number from 3417 to 3418
[ROCm/clr commit: 00f724e465]
2022-02-01 03:00:44 -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
Saleel Kudchadker d0e8d72bfa 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


[ROCm/clr commit: 33aca5a4a6]
2022-01-31 12:57:50 -05:00
Ajay 91ba078604 SWDEV-313082 - hipGraphMemsetNodeSetParams invalid params
Change-Id: Ibe57df8d7d583daf9ba9c7a86863eacca4868f3a


[ROCm/clr commit: cb79dc7486]
2022-01-28 19:27:32 -05:00
Chauncey Hui 7929d01be3 SWDEV-2 - Change OpenCL version number from 3416 to 3417
[ROCm/clr commit: 87dd8dd0d7]
2022-01-28 03:00:07 -05:00
Ajay c27ec6c94e SWDEV-316467 - hipGraphMemcpyNodeSetParamsToSymbol negative scenarios
Change-Id: Ic2a6ce1572f35dabe754c9459690448c49bbd4a6


[ROCm/clr commit: 0440d945e8]
2022-01-27 21:25:20 +00:00
German Andryeyev 9c0b3d2d2f SWDEV-318505 - Update HSAIL xnack path
Fix a typo with new line

Change-Id: I7fee63409b491a1f214117b68cfffa0492aa0743


[ROCm/clr commit: b169956c78]
2022-01-27 13:07:11 -05:00
Chauncey Hui b3a7bda2cc SWDEV-2 - Change OpenCL version number from 3415 to 3416
[ROCm/clr commit: 87b6c5f14c]
2022-01-27 03:00:09 -05: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
Konstantin Zhuravlyov ef7dffc013 SWDEV-320486 - Correctly set HSAIL_ELFTOOLCHAIN_DIR
Change-Id: Icb39b376eaf3a8132b210bd1bd4eeecaa97bea9d


[ROCm/clr commit: 511065e301]
2022-01-26 18:38:25 -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
Freddy Paul 9b9669d29c 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


[ROCm/clr commit: 8fa82f6e64]
2022-01-26 08:14:05 -08:00
Payam 26d897966e SWDEV-245531 - GLInterop adding svm support
Change-Id: Id7f2a7a214f5ad692b4a7acf26cfb1dc423ed54a


[ROCm/clr commit: b473a80f6a]
2022-01-26 08:17:58 -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
Chauncey Hui 9a874b36d7 SWDEV-2 - Change OpenCL version number from 3414 to 3415
[ROCm/clr commit: 7727ea394c]
2022-01-26 03:00:06 -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
German Andryeyev ea28025939 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


[ROCm/clr commit: a543d4a860]
2022-01-24 09:27:32 -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
Chauncey Hui 22bf484635 SWDEV-2 - Change OpenCL version number from 3413 to 3414
[ROCm/clr commit: e6225e07d0]
2022-01-19 03:00:08 -05:00
Alex Xie 055b618f15 SWDEV-312368 - Segmentation fault in test_gl
When OCL failed to obtain function pointer from GL, we should not call it.

Change-Id: I50f69d270ce445386906a286e44c4e8c83722302


[ROCm/clr commit: 15101e704b]
2022-01-14 17:35:31 -05: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
Chauncey Hui 67592dfe94 SWDEV-2 - Change OpenCL version number from 3412 to 3413
[ROCm/clr commit: d04fdd9356]
2022-01-13 03:00:05 -05: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
Satyanvesh Dittakavi 85c2cac111 SWDEV-306939 - Fix vdi errors/warnings by CppCheck
Change-Id: I56d910f8363787f1050d5d7e8064ed553c5827fd


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


[ROCm/clr commit: 017603703b]
2022-01-11 23:40:25 -05:00