Grafico dei commit

4640 Commit

Autore SHA1 Messaggio Data
Chauncey Hui 800fe4b239 SWDEV-2 - Change OpenCL version number from 3510 to 3511 2022-09-30 03:00:10 -04:00
Jeremy Newton 65fd4f5f07 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
2022-09-29 18:14:29 -04:00
Chauncey Hui f93d921c4f SWDEV-2 - Change OpenCL version number from 3509 to 3510 2022-09-23 03:00:11 -04:00
Saleel Kudchadker 9b5cbd37a2 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
2022-09-22 11:34:10 -04:00
Chauncey Hui ae46d57519 SWDEV-2 - Change OpenCL version number from 3508 to 3509 2022-09-22 03:00:08 -04:00
Laurent Morichetti 52eb28930a 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
2022-09-21 05:54:09 -04:00
Laurent Morichetti e713b5c7d0 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
2022-09-21 05:53:59 -04:00
Laurent Morichetti 4fbae91468 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
2022-09-21 05:53:47 -04:00
Chauncey Hui 5f77772e6e SWDEV-2 - Change OpenCL version number from 3507 to 3508 2022-09-21 03:00:08 -04:00
German df77380cee SWDEV-286150 - Switch PAL_DISABLE_SDMA to release build
Change-Id: Ibf800e1c767fd1e6bc9ebc4fc56b767b0a90bdef
2022-09-20 13:47:14 -04:00
Chauncey Hui ae8b862f1c SWDEV-2 - Change OpenCL version number from 3506 to 3507 2022-09-20 03:00:08 -04:00
Saleel Kudchadker 348a33434a SWDEV-301667 - Log file out per process
Change-Id: If1e797b8ffb397c03166d9b8e5b5369c42c39e60
2022-09-19 13:19:14 -04:00
Chauncey Hui df40e927c8 SWDEV-2 - Change OpenCL version number from 3505 to 3506 2022-09-17 03:00:06 -04:00
Ajay 373a7d1195 SWDEV-347670 - GPU StreamWait and StreamWrite support in Windows PAL backend
Change-Id: Ic4881305b6332e217f3d3127dce7e9d9d0a7df11
2022-09-15 13:57:40 -04:00
Chauncey Hui cf04d40a1a SWDEV-2 - Change OpenCL version number from 3504 to 3505 2022-09-15 03:00:09 -04:00
kjayapra-amd 362e7961d9 SWDEV-351338 - Increase AQL Queue depth and reduce ROC_ACTIVE_WAIT_TIME to 0.
Change-Id: Iec0005d57933d0df2f55b4f7bdb84ada8a386a0c
2022-09-14 10:49:53 -04:00
Maneesh Gupta 4afca0647e 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 73021582d3.

Change-Id: I86175ccf2b543c3ff3dffec6ccae410976972f22
2022-09-12 07:34:32 -04:00
Chauncey Hui c54da46b0c SWDEV-2 - Change OpenCL version number from 3503 to 3504 2022-09-08 03:00:07 -04:00
Rakesh Roy f097cda948 SWDEV-353941 - Fix hipMemset latency issue for hipMallocManaged
- In case of HMM, use blit kernel instead of CPU memcpy for hipMemset

Change-Id: I89bfc96ff01a2375ed8df1b1c6bc05357dea84f7
2022-09-07 03:20:58 -04:00
Chauncey Hui 94e8ded315 SWDEV-2 - Change OpenCL version number from 3502 to 3503 2022-09-07 03:00:07 -04:00
Sourabh Betigeri b15b3173f4 SWDEV-326798 - Avoids waiting for the signal with a timeout and instead queries the current status
Change-Id: I8b4052d5439ca930ceb924da30cb0335f0826a95
2022-09-06 12:49:46 -04:00
Chauncey Hui b2d412bcf1 SWDEV-2 - Change OpenCL version number from 3501 to 3502 2022-09-02 03:00:06 -04:00
Yifan Zhang d6c35273e3 SWDEV-354850 - Enable gfx1103 on ROCm backend.
Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Change-Id: Ia420444fd0cb703fcdca1ed7e3d2e262ffd7f4db
2022-09-01 18:58:00 +08:00
Chauncey Hui 38e9bc9540 SWDEV-2 - Change OpenCL version number from 3500 to 3501 2022-09-01 03:00:06 -04:00
Joseph Greathouse 6b956f7627 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
2022-08-31 16:07:49 -04:00
Alex Xie c00f10daea SWDEV-351337 - Add asic ID to staging for PAL
Change-Id: I64a24cc0118457d492d76063c808465d212b47bd
2022-08-31 15:56:40 -04:00
Chauncey Hui 2587a700b8 SWDEV-2 - Change OpenCL version number from 3499 to 3500 2022-08-31 03:00:06 -04:00
Ajay 040c416cb1 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
2022-08-30 16:21:25 -04:00
Jason Tang dd49cf0fa0 SWDEV-333471 - Remove HIP_FORCE_QUEUE_PROFILING
HIP_FORCE_QUEUE_PROFILING has been replaced by GPU_FORCE_QUEUE_PROFILING.

Change-Id: Ic32ecdf829a2725ace84e76abab8a81c8790e13f
2022-08-29 10:21:09 -04:00
Chauncey Hui 4dfde8b499 SWDEV-2 - Change OpenCL version number from 3498 to 3499 2022-08-29 03:00:09 -04:00
Sarbojit Sarkar c72a396c1f SWDEV-343921 - Updating default stack size for OpenCl tasks
Change-Id: I37cdd8808dddaa7ac0544b76d18de64b27e443bd
2022-08-26 04:57:00 -04:00
Chauncey Hui 2e2b57d806 SWDEV-2 - Change OpenCL version number from 3497 to 3498 2022-08-26 03:00:07 -04:00
Alex (Bin) Xie 35919d1760 SWDEV-352193 - OpenCL needs to remove build dependency on UGL/ORCA
Change-Id: I45c615ee0ec339c1694ac0bc122dab7fce959d59
2022-08-25 10:01:53 -04:00
Chauncey Hui f0387ab320 SWDEV-2 - Change OpenCL version number from 3496 to 3497 2022-08-25 03:00:06 -04:00
jie1zhan 2aa7e5819f SWDEV-352127 - Fix clinfo issue, add new asic id
Change-Id: Idc6ff6fe647878f32f8dbb0613cbb879ea21ecdf
2022-08-25 08:23:21 +08:00
German 24f5362296 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
2022-08-24 09:53:54 -04:00
Chauncey Hui 2733344689 SWDEV-2 - Change OpenCL version number from 3495 to 3496 2022-08-24 03:00:06 -04:00
Jason Tang d92b3a2d90 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
2022-08-19 10:51:41 -04:00
Chauncey Hui cf8f947f2f SWDEV-2 - Change OpenCL version number from 3494 to 3495 2022-08-19 03:00:07 -04:00
Satyanvesh Dittakavi 64c1c4757f SWDEV-336448 - Support loading comgr versioned dll
Change-Id: I03283fc2a200d778c5efa43e509624bba9ce0541
2022-08-19 00:38:19 -04:00
sdashmiz 50e0ddb055 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
2022-08-18 09:59:42 -04:00
Chauncey Hui 4f6ecae248 SWDEV-2 - Change OpenCL version number from 3493 to 3494 2022-08-18 03:00:06 -04:00
Alex Xie aafa057c9a SWDEV-351337 - Add new asic id
Change-Id: Ie07f7a6b9a4bb797124e6644c91fb62ba014cf6b
2022-08-12 13:14:06 -04:00
Chauncey Hui bc301d0937 SWDEV-2 - Change OpenCL version number from 3492 to 3493 2022-08-12 03:00:07 -04:00
Maneesh Gupta 289062682a SWDEV-350289 - Fix build warnings due to file re-org
Change-Id: I0066fa163b9f25fdde4c5b3baed1ef0654390c06
2022-08-10 03:05:56 -04:00
Chauncey Hui d9776dc730 SWDEV-2 - Change OpenCL version number from 3491 to 3492 2022-08-10 03:00:05 -04:00
Sarbojit Sarkar a28b22d9b4 SWDEV-344210 - Fixed page fault when mempool accessed from remote device
Change-Id: Ie41b0c0499f7733d4541ccd50b3d0d976c6431c9
2022-08-09 23:26:27 -04:00
Chauncey Hui 1afcf53133 SWDEV-2 - Change OpenCL version number from 3490 to 3491 2022-08-06 03:00:07 -04:00
Anusha Godavarthy Surya 73021582d3 SWDEV-299940 - Query global memory available on device with HSA attribute HSA_AMD_AGENT_INFO_MEMORY_AVAIL
Change-Id: Ifcfb95f59d110b3b037a7131be21d5348601d2e2
2022-08-05 06:55:12 -04:00
Chauncey Hui c905dfd37e SWDEV-2 - Change OpenCL version number from 3489 to 3490 2022-08-04 03:00:05 -04:00