Commit Graph

12212 Commits

Author SHA1 Message Date
Ioannis Assiouras 72b45e2a1f SWDEV-369581 - Convey copy API metadata to ROCclr
Change-Id: I569462d6d268700d419510255e201bf7d80d6714
2022-12-09 00:27:15 -05:00
pghafari 402504f548 SWDEV-366279 - updating p2p error msg
Change-Id: I294e7770efd11f511dd5817eb28bd3c97d9d4926
2022-12-09 00:05:04 -05:00
pghafari 52878fd039 SWDEV-369668 - update error check for hipGetError
Change-Id: I8f991237d59d04c9b6b3965a453ba3f54718eb43
2022-12-08 15:56:49 -05:00
Jaydeep Patel cd7034c9bb SWDEV-370537 - PAL does 64kb alignment so no need to do it in runtime. Reverting alignment to 4kb.
Change-Id: If3eaac65bf63bb9b8b73a3cad1bb34d357f1adeb
2022-12-08 14:54:46 -05:00
German 8cf53e7dff SWDEV-370901 - Force sysmem allocation
Adobe AE allocates/destroys system memory per each frame
in some effects, which is a very expensive operation.
Disable pinning and force sysmem allocation in VidMM.
That allows to trigger resource cache in runtime and
avoid paging operations, caused by pinning.
The actual benchmark doesn't have significant improvement
from the change, but GPU view traces are much cleaner.

Change-Id: I92cdd87d37c64611788f05250f71d6fe489b4d7e
2022-12-08 13:06:51 -05:00
German Andryeyev 6d3b8d0106 SWDEV-353281 - Relax prof script validation
Report a warning on HIP header mismatch

Change-Id: Ib6fb32161b7de14881ef88cff6c95e6b432999db
2022-12-08 12:57:13 -05:00
sdashmiz fefff25364 SWDEV-367833 - return success for null stream
- return success for query on null stream

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Ifc2cf705e1962565c68de7b1777f870c5a4d56cf
2022-12-08 11:41:37 -05:00
kjayapra-amd 7319dc36c1 SWDEV-363865 - Use COMGR path to unbundle code object in HIPRTC.
Change-Id: Ie6a48ab2792bb3f7ae1e62d716ecc35b8e24fe16
2022-12-08 08:34:33 -05:00
Chauncey Hui cbc66bf89d SWDEV-2 - Change OpenCL version number from 3540 to 3541 2022-12-08 03:00:09 -05:00
pghafari 5acc2cdcc2 SWDEV-368166 - hipGraphAddMemcpyNode1D paramcheck
adding parameter check for hipGraphAddMemcpyNode1D

Change-Id: I94dc944bd55ea04b8e9288a27c8f58dd3720161b
2022-12-07 18:29:11 -05:00
Saleel Kudchadker 4f64d89026 SWDEV-371123 - Use barrier value packet for event records
Change-Id: I5e5e5e89e0d96a2430b4682d168b76848fa5b94e
2022-12-07 17:57:36 -05:00
Chauncey Hui c8e66f4cf8 SWDEV-2 - Change OpenCL version number from 3539 to 3540 2022-12-07 03:00:08 -05:00
Jaydeep Patel e2279b3869 SWDEV-366086 - Validations for negative scinerios.
Change-Id: Icca87de775bf7f8c4d18f911f7bee21fafdcff55
2022-12-06 21:27:37 -05:00
Tao Sang f29d3bc3ac SWDEV-370659 - Add lock for HSAIL only
Add lock for HSAIL only in order to fix test failures
in math brute force and integer_ops tests.

Change-Id: I5f14cdcaa4ee9867fdae63fff197a0f21ee5f1d4
2022-12-06 15:50:04 -05:00
kjayapra-amd 5e4f430e03 SWDEV-241902 - Using COMGR APIs for extracting Code object.
Change-Id: I2dd662babf805d2de6e037bf41f7306e523da7d5
2022-12-06 12:17:12 -08:00
Todd tiantuo Li 3ffa3a828e SWDEV-372070 - Add Phoenix to OCLPerfCounters in ocltst
Change-Id: I08683856c1e99f3c0b96373aa1fc9720f4b97e65
2022-12-06 04:34:34 -08:00
Chauncey Hui a4576e0a60 SWDEV-2 - Change OpenCL version number from 3538 to 3539 2022-12-06 03:00:08 -05:00
Ioannis Assiouras 7631ba8b4d SWDEV-369548 - Added getProcessId function in Os:: and change log functions to use that.
Change-Id: Ib64ee4d65a5212af7a4a95f80173b7ff8382340f
2022-12-05 23:59:25 -05:00
Tao Sang 8c582a02ef SWDEV-347733 - Remove luxmark workaround for gfx11
Make gfx11 always use LC by default.
Fix switch order of Navi3x.
Change-Id: I5774563edf4d1aed29a4e92723630adbfb75c48c
2022-12-05 18:38:08 -05:00
Ioannis Assiouras 6847427dd4 SWDEV-369572 - Check for valid stream before capture
Change-Id: I712ce136327ad459a048d84d1caeec506ed1cc39
2022-12-05 22:09:07 +00:00
Sourabh Betigeri 5d7f3f9f3c SWDEV-305894 - Cooperative groups grid and multi grid sync support for gfx940+
Change-Id: I35d72f1cb50c3a96eee56a612b72d641852b145f
2022-12-05 16:30:30 -05:00
Chauncey Hui 3296dd8636 SWDEV-2 - Change OpenCL version number from 3537 to 3538 2022-12-03 03:00:06 -05:00
AlexBin Xie 0f7afda8ef Merge "SWDEV-369978 - Add ASIC id to test SWDEV-370434 - Add ASIC id to test" into amd-staging 2022-12-02 13:11:24 -05:00
Saleel Kudchadker 10ecf8f159 SWDEV-371123 - Refactor dispatchBarrierValuePacket
Change-Id: I846bd3f60dd8db125e2ca5475e9d25fdd567922b
2022-12-02 12:22:31 -05:00
Satyanvesh Dittakavi d413375d51 SWDEV-369955 - Support hipDrvGetErrorString and hipDrvGetErrorName on Nvidia headers
Change-Id: I54cfa8faed2f45f310682625f94952aa3c2ee27f
2022-12-02 11:52:07 -05:00
Chauncey Hui fb42848728 SWDEV-2 - Change OpenCL version number from 3536 to 3537 2022-12-02 03:00:08 -05:00
pghafari 539ee310c3 SWDEV-369668 - updating return for invalid value
Change-Id: Ia380dd418845c84f5ab910b32dfd4907af06852d
2022-12-01 23:34:03 -05:00
pghafari 4d744547eb SWDEV-366397 - updating gl interop flag check
Change-Id: Ifefd5d4590216e3b73031cc25789aac2e8db541a
2022-12-01 22:32:28 -05:00
Alex Xie 72830e31cf SWDEV-369978 - Add ASIC id to test
SWDEV-370434 - Add ASIC id to test

Change-Id: I7ed199c677543e7ab42011a9c80befbafd9508f4
2022-12-01 17:46:31 -05:00
Anusha GodavarthySurya ac0db17b54 SWDEV-371206, SWDEV-371163 - Fix hipGraphNodeGetEnabled/SetEnabled negative scenarios
Change-Id: Icf4bcca743c2188ee89dbdc8eb32d9d727b95227
2022-12-01 12:28:29 -05:00
Satyanvesh Dittakavi 450d0941ca SWDEV-370841 - Correct the devicelibs library bitcode used by hiprtc
Change-Id: I1f2ab9ca4ab2947f42e101c37bb3e6a046e32d5b
2022-12-01 12:00:36 -05:00
Satyanvesh Dittakavi 1deee433d0 SWDEV-287842 - Add int8_t and int16_t support in hiprtc
Change-Id: I03bb967068f1a29e85ce8d9410f78de4af9589c4
2022-12-01 11:58:46 -05:00
Jason Tang 56fe793134 SWDEV-1 - Fix a build error.
Change-Id: I5f14cdca04ee9867f0ae63fff197a0f21ee5f1d2
2022-12-01 10:31:34 -05:00
Chauncey Hui 5b19eb7210 SWDEV-2 - Change OpenCL version number from 3535 to 3536 2022-12-01 03:00:07 -05:00
sdashmiz f93dfb2a4e SWDEV-366974 - return implicit capture for null stream
- return implicit error if null sream is passed while blocing stream is
  in operation

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I4d867a0bddd855e2c0d3eb9b769d5d36412c20c0
2022-11-30 13:45:26 -05:00
Jason Tang c825d06454 SWDEV-1 - Fix a build warning.
Change-Id: I085fcc68ef3aaebf85515ea45fca99d7ec845721
2022-11-30 11:07:15 -05:00
Rakesh Roy 4f5d180ca7 SWDEV-368881 - Revert enable hipLaunchCooperativeKernel for hipRTC compiled function
This reverts commit b4d8586a11.

Reason for revert: Doesn't match with CUDA behavior

Change-Id: I413f3d241f864c1e7c21681c5fff8f216ef54306
2022-11-30 03:58:29 -05:00
Chauncey Hui e12c3bd819 SWDEV-2 - Change OpenCL version number from 3534 to 3535 2022-11-30 03:00:07 -05:00
Ioannis Assiouras b445717f72 SWDEV-369547 - Ensure that ipc_mem_detach is not called for non-ipcShared MemObj.
Change-Id: Ia73b60b9f08d593301879e0f72c395edbc215112
2022-11-30 02:16:13 -05:00
Anusha GodavarthySurya 16b31b0c54 SWDEV-325711 - Correct formatting
Change-Id: Ie26159e0bb3315cf7c3de1eb682f23ef343df0f2
2022-11-30 05:15:01 +00:00
Anusha GodavarthySurya 596b16da5a SWDEV-325711 - Added graph API hipGraphUpload
Change-Id: I7e4c8c997a5ef940000d599ded9d317d62b8826b
2022-11-30 04:40:17 +00:00
Your Name 3e47c052e0 SWDEV-368477 - hipOccupancyMaxPotentialBlockSizeVariableSMemWithFlags nvidia mapping
SWDEV-369618 - hipOccupancyMaxPotentialBlockSizeVariableSMemWithFlags invalid flag scenario
Change-Id: I2edbab5d3eeacf80bc215f0a77a46d733f4b4ec9
2022-11-29 12:38:39 -05:00
Chauncey Hui e74835795a SWDEV-2 - Change OpenCL version number from 3533 to 3534 2022-11-29 03:00:07 -05:00
Rakesh Roy cbc3a0a652 SWDEV-348820 - Fix hipPointerAttribute_t incompatibility
- Use hipPointerAttribute_t.type instead of hipPointerAttribute_t.memoryType

Change-Id: I3bf1c0758bdae987213ba7de62247dd420ef4cc9
2022-11-29 00:53:24 -05:00
Rakesh Roy b4d8586a11 SWDEV-368881 - Enable hipLaunchCooperativeKernel for hipRTC compiled function
- Add helper function to validate whether a dynamic function is present or not
- If getStatFunc fails, then check whether the function passed is a valid dynamic function

Change-Id: I4141172f42dce7ff689709560c483e602b5dad4b
2022-11-29 00:35:43 -05:00
Anusha GodavarthySurya 3a9621574c SWDEV-325711 - Added implementation for graph API hipGraphKernelNodeCopyAttributes
Change-Id: I576d0e81c69097fe881556f6d022bb7c7ca3287b
2022-11-29 02:53:14 +00:00
Anusha GodavarthySurya 1ab46fe7ae SWDEV-325711 - Added implementation for graph APIs GetEnabled & SetEnabled
Change-Id: I15a165b3dc548d00b7f5458e1b322b192b8c0d76
2022-11-28 21:50:36 -05:00
German 4471ed1210 SWDEV-1 - Clean-up map file in Linux
Change-Id: Ibfad648c8ec9897a0895057c501d383875e95730
2022-11-28 17:16:23 -05:00
Ioannis Assiouras 33cb388101 SWDEV-369557 - Added enum mapping for external[Semaphore/Memory]HandleType
Change-Id: If1b95b084f7fa312e6cdad4ccf433127671a35ce
2022-11-28 13:32:31 -05:00
kjayapra-amd 61b6a94627 SWDEV-358915 - Wait for 10 micro secs, if the next engine is SDMA.
Change-Id: Ib3ed91510e62090f47d4f55be8de635caaee083d
2022-11-28 12:14:16 -05:00