Commit Graph

4637 Commits

Author SHA1 Message Date
Laurent Morichetti 7bcdb29caa SWDEV-351980 - Add FillBuffer byte count to the record
Change-Id: I90c791f5810b8a3f6b1d6a9e81c165b1a7515c92


[ROCm/clr commit: e00965df50]
2022-09-30 21:20:14 -07:00
Chauncey Hui 9c0157e582 SWDEV-2 - Change OpenCL version number from 3510 to 3511
[ROCm/clr commit: 800fe4b239]
2022-09-30 03:00:10 -04:00
Jeremy Newton d4274a37c7 SWDEV-1 - Fix typo in compiler utils
Found by the Debian maintainers:
https://github.com/ROCm-Developer-Tools/ROCclr/issues/28

Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com>
Change-Id: I8c09913f7b7f4ad02f12a0630f15e66bdd5360a7


[ROCm/clr commit: 65fd4f5f07]
2022-09-29 18:14:29 -04:00
Chauncey Hui f1c029e147 SWDEV-2 - Change OpenCL version number from 3509 to 3510
[ROCm/clr commit: f93d921c4f]
2022-09-23 03:00:11 -04:00
Saleel Kudchadker 0dd9add8e1 SWDEV-352001 - Store last scopes for dispatch
- Store last fence scopes and use the last value to determine if we need a cache flush again. This helps cases where hipExtLaunchKernel API is
used.
- Purge code for ROC_EVENT_NO_FLUSH

Change-Id: I531cf9c9c60d5e2b3a9e265d0f52f79ed2fa8a8c


[ROCm/clr commit: 9b5cbd37a2]
2022-09-22 11:34:10 -04:00
Chauncey Hui a045c28998 SWDEV-2 - Change OpenCL version number from 3508 to 3509
[ROCm/clr commit: ae46d57519]
2022-09-22 03:00:08 -04:00
Laurent Morichetti 0cd3ec5056 SWDEV-351980 - Consolidate registration tables in the roctracer library
Remove the activity_prof::CallbacksTable. The table was redundant with
the information already stored in the roctracer library. Instead use a
single callback into the roctracer library to query whether the activity
is enabled, and to report it.

Change-Id: I2e05b0881bb4a1953c14361d00ea310d02eb6e0c


[ROCm/clr commit: 52eb28930a]
2022-09-21 05:54:09 -04:00
Laurent Morichetti 353f9bc86c SWDEV-351980 - Enable profiling for commands reporting activities
Profiling should be enabled for any command reporting activities as the
activity record captures the profilingInfo's start and end timestamps.

Since IS_PROFILER_ON is only used to determine whether API tracing is
enabled, there is no need to expose it globally, it should be a property
of the activity_prof::CallbacksTable.

Change-Id: I44a0d19ed2862606cfbc9a98c1a07a336ab7e26c


[ROCm/clr commit: e713b5c7d0]
2022-09-21 05:53:59 -04:00
Laurent Morichetti cbcc94b9e3 SWDEV-351980 - Move activity_ to the ProfilingInfo
The activity_ is only instantiated if profiling is enabled.

Remove the HIP private global record ID. Instead, use the correlation ID
stored in the hip_api_data_t by the profiler while the last HIP function
is in scope.

For NDRange and Copy commands, store the kernel name and byte size
(respectively) in the record.

General cleanups to improve the code's readability.

Change-Id: I01907484b0d9611eb9440c3a7c4865479dc42289


[ROCm/clr commit: 4fbae91468]
2022-09-21 05:53:47 -04:00
Chauncey Hui 939199b98f SWDEV-2 - Change OpenCL version number from 3507 to 3508
[ROCm/clr commit: 5f77772e6e]
2022-09-21 03:00:08 -04:00
German 46409cc4e6 SWDEV-286150 - Switch PAL_DISABLE_SDMA to release build
Change-Id: Ibf800e1c767fd1e6bc9ebc4fc56b767b0a90bdef


[ROCm/clr commit: df77380cee]
2022-09-20 13:47:14 -04:00
Chauncey Hui 0226858812 SWDEV-2 - Change OpenCL version number from 3506 to 3507
[ROCm/clr commit: ae8b862f1c]
2022-09-20 03:00:08 -04:00
Saleel Kudchadker b6696ed932 SWDEV-301667 - Log file out per process
Change-Id: If1e797b8ffb397c03166d9b8e5b5369c42c39e60


[ROCm/clr commit: 348a33434a]
2022-09-19 13:19:14 -04:00
Chauncey Hui 1b7f4194b5 SWDEV-2 - Change OpenCL version number from 3505 to 3506
[ROCm/clr commit: df40e927c8]
2022-09-17 03:00:06 -04:00
Ajay c2a7fe7bd6 SWDEV-347670 - GPU StreamWait and StreamWrite support in Windows PAL backend
Change-Id: Ic4881305b6332e217f3d3127dce7e9d9d0a7df11


[ROCm/clr commit: 373a7d1195]
2022-09-15 13:57:40 -04:00
Chauncey Hui 46df61f614 SWDEV-2 - Change OpenCL version number from 3504 to 3505
[ROCm/clr commit: cf04d40a1a]
2022-09-15 03:00:09 -04:00
kjayapra-amd 8e55352cf3 SWDEV-351338 - Increase AQL Queue depth and reduce ROC_ACTIVE_WAIT_TIME to 0.
Change-Id: Iec0005d57933d0df2f55b4f7bdb84ada8a386a0c


[ROCm/clr commit: 362e7961d9]
2022-09-14 10:49:53 -04:00
Maneesh Gupta 06593a072f SWDEV-352502 - SWDEV-355630 - Revert "SWDEV-299940 - Query global memory available on device with HSA attribute HSA_AMD_AGENT_INFO_MEMORY_AVAIL"
This reverts commit 1b2f5fbce1.

Change-Id: I86175ccf2b543c3ff3dffec6ccae410976972f22


[ROCm/clr commit: 4afca0647e]
2022-09-12 07:34:32 -04:00
Chauncey Hui 6d44098ae2 SWDEV-2 - Change OpenCL version number from 3503 to 3504
[ROCm/clr commit: c54da46b0c]
2022-09-08 03:00:07 -04:00
Rakesh Roy 9cdd929342 SWDEV-353941 - Fix hipMemset latency issue for hipMallocManaged
- In case of HMM, use blit kernel instead of CPU memcpy for hipMemset

Change-Id: I89bfc96ff01a2375ed8df1b1c6bc05357dea84f7


[ROCm/clr commit: f097cda948]
2022-09-07 03:20:58 -04:00
Chauncey Hui 26d51f2c90 SWDEV-2 - Change OpenCL version number from 3502 to 3503
[ROCm/clr commit: 94e8ded315]
2022-09-07 03:00:07 -04:00
Sourabh Betigeri bef723c63d SWDEV-326798 - Avoids waiting for the signal with a timeout and instead queries the current status
Change-Id: I8b4052d5439ca930ceb924da30cb0335f0826a95


[ROCm/clr commit: b15b3173f4]
2022-09-06 12:49:46 -04:00
Chauncey Hui 62bfad38a7 SWDEV-2 - Change OpenCL version number from 3501 to 3502
[ROCm/clr commit: b2d412bcf1]
2022-09-02 03:00:06 -04:00
Yifan Zhang 87847a38ba SWDEV-354850 - Enable gfx1103 on ROCm backend.
Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Change-Id: Ia420444fd0cb703fcdca1ed7e3d2e262ffd7f4db


[ROCm/clr commit: d6c35273e3]
2022-09-01 18:58:00 +08:00
Chauncey Hui da11e3ee37 SWDEV-2 - Change OpenCL version number from 3500 to 3501
[ROCm/clr commit: 38e9bc9540]
2022-09-01 03:00:06 -04:00
Joseph Greathouse b995ea06e8 SWDEV-330307 - Avoid releasing command before last use
The fix for SWDEV-329789 moved down the last use of the a
command object pointer in order to prevent a race condition.
However, the previous patch did not move down the release of
that command. By releasing the command early, another thread
could get a command with the same pointer. That second thread
could later submit work to the queue using that new command.
The first thread could then perform a comparison against the
queue's last command using its own now-stale pointer. This
could eventually allow the second thread to skip synchornizing
on the queue. This would result in host synchronizations
completing before their device work was actually complete.

Change-Id: I292b7b369743251ceafe453a4c5cae14a6d01046


[ROCm/clr commit: 6b956f7627]
2022-08-31 16:07:49 -04:00
Alex Xie 29acb61cae SWDEV-351337 - Add asic ID to staging for PAL
Change-Id: I64a24cc0118457d492d76063c808465d212b47bd


[ROCm/clr commit: c00f10daea]
2022-08-31 15:56:40 -04:00
Chauncey Hui ee33ffb85c SWDEV-2 - Change OpenCL version number from 3499 to 3500
[ROCm/clr commit: 2587a700b8]
2022-08-31 03:00:06 -04:00
Ajay 1d84cdb2af SWDEV-352127 - Handle Raphael arch in palsettings create()
assert statement were hit silently in Release builds like SWDEV-353548.
Issue only seen in Debug builds

Change-Id: I9f7177806c854d64fcf986e9f6092076d8a05f23


[ROCm/clr commit: 040c416cb1]
2022-08-30 16:21:25 -04:00
Jason Tang 5692511e22 SWDEV-333471 - Remove HIP_FORCE_QUEUE_PROFILING
HIP_FORCE_QUEUE_PROFILING has been replaced by GPU_FORCE_QUEUE_PROFILING.

Change-Id: Ic32ecdf829a2725ace84e76abab8a81c8790e13f


[ROCm/clr commit: dd49cf0fa0]
2022-08-29 10:21:09 -04:00
Chauncey Hui ae52afa603 SWDEV-2 - Change OpenCL version number from 3498 to 3499
[ROCm/clr commit: 4dfde8b499]
2022-08-29 03:00:09 -04:00
Sarbojit Sarkar e6f0d30295 SWDEV-343921 - Updating default stack size for OpenCl tasks
Change-Id: I37cdd8808dddaa7ac0544b76d18de64b27e443bd


[ROCm/clr commit: c72a396c1f]
2022-08-26 04:57:00 -04:00
Chauncey Hui eed709d49c SWDEV-2 - Change OpenCL version number from 3497 to 3498
[ROCm/clr commit: 2e2b57d806]
2022-08-26 03:00:07 -04:00
Alex (Bin) Xie 375e6aaf80 SWDEV-352193 - OpenCL needs to remove build dependency on UGL/ORCA
Change-Id: I45c615ee0ec339c1694ac0bc122dab7fce959d59


[ROCm/clr commit: 35919d1760]
2022-08-25 10:01:53 -04:00
Chauncey Hui 39e6ca2733 SWDEV-2 - Change OpenCL version number from 3496 to 3497
[ROCm/clr commit: f0387ab320]
2022-08-25 03:00:06 -04:00
jie1zhan e668b22b11 SWDEV-352127 - Fix clinfo issue, add new asic id
Change-Id: Idc6ff6fe647878f32f8dbb0613cbb879ea21ecdf


[ROCm/clr commit: 2aa7e5819f]
2022-08-25 08:23:21 +08:00
German 5ed568998f SWDEV-349794 - Fix time accumulation
If the execution command had a split into multiple HW operations, then runtime has to accumulate time for all operations

Change-Id: Iaba31e96250918d8190bf63adb4c07730fdfefbf


[ROCm/clr commit: 24f5362296]
2022-08-24 09:53:54 -04:00
Chauncey Hui d05b1469ae SWDEV-2 - Change OpenCL version number from 3495 to 3496
[ROCm/clr commit: 2733344689]
2022-08-24 03:00:06 -04:00
Jason Tang fb753e489d SWDEV-333471 - Add GPU_FORCE_QUEUE_PROFILING
To support both hip and ocl. HIP_FORCE_QUEUE_PROFILING will be replaced with this later on.

Change-Id: I6d3514b1568ff049584ed9fd74bbdb3e4f4bf0c3


[ROCm/clr commit: d92b3a2d90]
2022-08-19 10:51:41 -04:00
Chauncey Hui 1729dc0514 SWDEV-2 - Change OpenCL version number from 3494 to 3495
[ROCm/clr commit: cf8f947f2f]
2022-08-19 03:00:07 -04:00
Satyanvesh Dittakavi af659de4c1 SWDEV-336448 - Support loading comgr versioned dll
Change-Id: I03283fc2a200d778c5efa43e509624bba9ce0541


[ROCm/clr commit: 64c1c4757f]
2022-08-19 00:38:19 -04:00
sdashmiz 96640b24ff SWDEV-350569 - add proper indexing for attribute
- rocr attribute needs to be updated after each iteration

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I3afb2d7954ef3de37f5f5f9d3cc7757fdacffcec


[ROCm/clr commit: 50e0ddb055]
2022-08-18 09:59:42 -04:00
Chauncey Hui 55cbb18fa2 SWDEV-2 - Change OpenCL version number from 3493 to 3494
[ROCm/clr commit: 4f6ecae248]
2022-08-18 03:00:06 -04:00
Alex Xie 3a32ec1232 SWDEV-351337 - Add new asic id
Change-Id: Ie07f7a6b9a4bb797124e6644c91fb62ba014cf6b


[ROCm/clr commit: aafa057c9a]
2022-08-12 13:14:06 -04:00
Chauncey Hui 2742546b68 SWDEV-2 - Change OpenCL version number from 3492 to 3493
[ROCm/clr commit: bc301d0937]
2022-08-12 03:00:07 -04:00
Maneesh Gupta 92f6e1a0d2 SWDEV-350289 - Fix build warnings due to file re-org
Change-Id: I0066fa163b9f25fdde4c5b3baed1ef0654390c06


[ROCm/clr commit: 289062682a]
2022-08-10 03:05:56 -04:00
Chauncey Hui 1baa019c70 SWDEV-2 - Change OpenCL version number from 3491 to 3492
[ROCm/clr commit: d9776dc730]
2022-08-10 03:00:05 -04:00
Sarbojit Sarkar a70f836779 SWDEV-344210 - Fixed page fault when mempool accessed from remote device
Change-Id: Ie41b0c0499f7733d4541ccd50b3d0d976c6431c9


[ROCm/clr commit: a28b22d9b4]
2022-08-09 23:26:27 -04:00
Chauncey Hui ce8bf4a202 SWDEV-2 - Change OpenCL version number from 3490 to 3491
[ROCm/clr commit: 1afcf53133]
2022-08-06 03:00:07 -04:00
Anusha Godavarthy Surya 1b2f5fbce1 SWDEV-299940 - Query global memory available on device with HSA attribute HSA_AMD_AGENT_INFO_MEMORY_AVAIL
Change-Id: Ifcfb95f59d110b3b037a7131be21d5348601d2e2


[ROCm/clr commit: 73021582d3]
2022-08-05 06:55:12 -04:00