Ranjith Ramakrishnan
e7eb195924
SWDEV-345870 - Correct include paths for new directory layout
...
Use hsa header files from /opt/rocm-ver/include rather than using wrapper files from /opt/rocm-ver/hsa/include/hsa
Change-Id: Id7a9bde19447cd2a0fd6e03b11c08471f09c2a46
2022-07-14 16:08:41 -07:00
Chun Yang
a8b5d6cf33
SWDEV-283942 SWDEV-292075
...
Fixed exception thrown when ROCP_HSA_INTERCEPT not set or set to 0;
Fixed ROCM hsa_init() failed with error 4096 when trying to read hardware performance counters;
Fixed LD_LIBRARY_PATH to include necessary library;
Change-Id: Idcb7ff807a79f4267374c34041d3bca33d85f532
2021-10-05 10:44:26 -04:00
Evgeny
c4828a9de0
concurrent: enable PmcStopper to end perf counting.
...
Change-Id: I89785277678141e29349e162df10203787050643
2021-04-09 08:06:42 +00:00
Evgeny
fb82ddee81
adding GPU command functions module
...
Change-Id: Id2c2d82ea6fee42695309ad3bb296effa77a2f33
2021-02-03 04:45:59 -05:00
Evgeny
96ff7582ce
porting of AQL packet submit to new atomic HSA queue API
...
Change-Id: I654448a7a8627978395d426118a5cb3ba2a92058
2020-10-12 09:26:27 -05:00
Evgeny
169e36f379
SWDEV-252747 : testing using v3 object
...
Change-Id: I427df765d1be55bd2851ce441238b3eaa46cca4f
2020-10-09 06:38:46 -04:00
Evgeny
0d164ba672
enable contexts wait
...
Change-Id: Ie2adf04662fddc8051fb5418904c9c659e264d78
2020-09-21 21:06:03 -04:00
Xianwei Zhang
b445610cd1
concurrent: enable/fix the related settings
...
Concurrent profiling relies on the aqlprofile read_api
and tracker. This patch set those options to enable
the concurrent profiling.
Change-Id: Ib97d4d8facfbc11f2684d83109397cd13f117d5e
2020-08-26 16:04:57 -04:00
Xianwei Zhang
e26210d9d9
concurrent: improve concurrent profiling
...
This patch adds barrier packets, together with extra signals,
to enforce the completion order of read packets w.r.t dispatch.
And, PmcStopper is added to stop the profiling finally.
Change-Id: I8e8d3a41d86e42be1d9e5afd44c247be876cf1a5
2020-08-05 18:20:14 -04:00
Xianwei Zhang
61c9df4631
pmc: add support of concurrent kernel profiling
...
The profiling was only enabled in serial mode, i.e., kernels
are serialized in execution, and counters are reset at each
kernel start and read at kernel completion. This patch adds
the concurrent mode, by issuing the process-level start
packet to reset counters, and then reading twice at kernel
start and end time to obtain the counter value difference.
The new concurrent profiling usage needs the integration
with the corresponding augment at aqlprofile side.
Change-Id: I94b4442eadc8c64b8fba51b1e4916fc8b895ad21
2020-07-16 14:39:46 -05:00
Evgeny
2a7f77b290
counters dumping optimization
...
Change-Id: I8c694e5380e15179453148dd9ab3a3e51b6db861
2020-07-15 09:57:41 -05:00
Evgeny
9f7e936d70
concurrent sqtt support
...
Change-Id: I91391fafabc93aefa5d244d870ef82b96a59dc52
2020-06-23 20:00:49 -04:00
Evgeny
30db99e758
setting code-obj tracking by default
...
Change-Id: Id6a97a7dc77faa3b7eb0e2b81b75c13ca7fc5818
2020-05-28 03:43:12 -05:00
Evgeny
9950b97567
disabling destruction
...
Change-Id: I2a7d05a8f597b3bc8bd07bffe7181f9dcace1cbf
2020-05-07 03:34:30 -05:00
Evgeny
3ce98d33d4
get_time API: make public; extende with more time id: coarse and raw; added time error return value;
...
Change-Id: I1641eb2c38915222204617e07fc0bfb388bb8346
2020-04-30 02:38:18 -05:00
Evgeny
fe70682184
toll destruction fix
...
Change-Id: If069c820526e21a0a4b80ac516f9669a81f34cab
2020-04-28 03:16:15 -05:00
Evgeny
f819e1c463
elliminaring the need of AMD_INTERNAL_BUILD macro defined
...
Change-Id: Ie97aef943793b1e4f40b7c7397af313520b35beb
2020-04-09 23:41:51 -05:00
Evgeny
fdb8f55e02
adding standalone intercept test; queeu_start/stop API fixed as public;
...
Change-Id: I5489a5ff69454985b955c9e4027f812168de1ecb
2020-04-08 04:31:52 -05:00
Evgeny
9df9fddcfb
PC sampling bringup
...
Change-Id: I0d041c4c8c3778f2c328cde38432bc72223706a3
pc sampling integration fix
Change-Id: Ia66ff876d2d99ec4d561daf8320b65d75f5cd2fe
2020-03-28 13:07:45 -05:00
Evgeny
d2324e780f
hsa-interept mode enabling in head
...
Change-Id: I048a975deaae691868034ee361fea71ffb5bdd83
2020-02-14 00:22:36 -06:00
Evgeny
704420bead
adding kernel free callback and recursion guard
...
Change-Id: I1ff6bba3503150745d7fc533c9db24480d476d23
2020-02-13 22:00:56 -06:00
Evgeny
304568c1a3
kernel free on executable_destroy
...
Change-Id: I062e08fd5df94f4d21b443b74494dc6e95201f3d
2020-02-13 22:00:56 -06:00
Evgeny
086c29fff1
adding code object freeze handling, kernel code allocate/device callbacks
...
Change-Id: I6ec32a0c4e945260cd11f88c1d2a0a7f22d6e10c
documenting comments
Change-Id: I1b7af70d51042c48aef0474d0b6b54275b42c456
2020-02-13 22:00:56 -06:00
Evgeny
f95ed067ba
adding allocate/device/memcopy/submit callbacks
...
Change-Id: Ie83ae3cd57cdf5038e83db70891b103439c37d55
2020-02-13 22:00:08 -06:00
Evgeny
0e79fbaee8
adding hsa-interceptor, preliminary
...
Change-Id: I18f7ba3df223cb16bc6c055792834a3fee7c2373
2020-02-13 21:34:02 -06:00
Evgeny
5d2b23d751
queue callback start/stop methods
...
Change-Id: Idba6624bb177096ef879f53f6aec80283ca18ce5
2020-01-14 10:25:13 -06:00
Evgeny
b534d4513a
minor cosmetic changes
...
Change-Id: If148618105092923c869b99b8fabd9ce721c50dc
2019-12-31 20:56:53 -06:00
Evgeny
4d5a11fbbf
adding rocprofiler_get_time API
...
Change-Id: I9202b3e97f8f9ca7485f87ea22746a9c4d8091c3
2019-12-30 13:55:04 -06:00
Evgeny
60043d198b
code object tracking and v3 code object support
...
Change-Id: I081ada13f6364ea4401a97a485dedfa9bf8a45fe
2019-11-19 20:18:09 -06:00
Evgeny
d8bd1f5ae5
fixed querying of available metrics to use correct agnet name
...
Change-Id: Ic2c82d5cba760ba5b0caa373e5309f17c908b8e9
2019-10-03 13:30:33 -04:00
Evgeny
6d6eb2b2d0
adding SPM trace support
...
Change-Id: I07c0d3ec5c4ec51ea00fea539c930c6ed27b1163
2019-06-04 05:07:19 -05:00
Evgeny
66f6affe06
instances number 1 for derived metrics
...
Change-Id: Id1cc33811755baeb26e944e9362ab035e528058c
2019-04-08 01:19:38 -05:00
Evgeny
3755d2e7cb
multi gpu standalone intercepting
...
Change-Id: I7e1e75b0c77e5401e944f0f8d1ab367607041a73
2019-04-02 23:13:12 -05:00
Evgeny
1ed97815f1
creation fix
...
Change-Id: I717d96555677664ce0a926cf1c3c3c48f55287d9
2019-03-13 15:17:56 -05:00
Evgeny
df860838a2
supporting original hsa api table
...
Change-Id: Ia98554c137a3ec6433d8234ba17ca4dc2f2be940
2019-03-06 13:41:54 -06:00
Evgeny
632309a626
adding context pool
...
Change-Id: Id8c6ee43ac6c86480848a5d3e759c42730cf388a
2019-03-03 01:18:42 -06:00
Evgeny
c6a20178dc
metrics exceptions handling
...
Change-Id: I9b050f78b1ef333853649d5457c80544944ea7f6
2019-02-25 03:58:14 -06:00
Evgeny
2b2a279ce9
hsa memcopy tracking
...
Change-Id: I61bc4ea01a62b587d5941f9d0e9e358a6ed71b5a
2019-01-07 01:53:27 -06:00
Evgeny
f977ac2fbf
rpl_run w/o input file; queue create callback; test for n gpus and n threads
...
Change-Id: I37157c49cf6454de591cae97b5cc43287ea95956
2018-10-30 14:19:45 -05:00
Evgeny
b481bfe5de
standalone/sampling mode
...
Change-Id: I24c358bfebacb5678fb3d31f2f94ae867a1c9ac9
2018-09-18 20:33:41 -05:00
Evgeny
3b7b958a5a
- cleanup;
...
- metrics descriptions;
Change-Id: I9087f41a4ba3ed6c94039ac921407aa13529bf6c
2018-08-20 00:40:10 -05:00
Evgeny
f6f857f6f4
licensing annotation
...
Change-Id: Icdd79e25e7ba30e777f1024697f87d583f380a62
2018-08-19 04:18:55 -05:00
Evgeny
4d790c8eee
adding tracker handler
...
Change-Id: Iea47c25b3c9b6e1eadf097c34323727181975cca
2018-07-25 14:55:21 -05:00
Evgeny
013721eb62
adding session log
...
Change-Id: I3e1568f711ca1e863f8d912ba4598ac3ede5a46f
2018-07-11 11:39:15 -05:00
Evgeny
7ba92e192b
queue profiled API
...
Change-Id: I08f496fa76903738e937d2f29dc558ed9def3e0a
2018-07-10 16:56:27 -05:00
Evgeny
bc7a052294
adding counters instancing info
...
Change-Id: Idccc776ed91cafe9662b84bfad4149dde0c82caf
2018-07-09 13:48:57 -05:00
Evgeny
add56e26ae
license annotations
...
Change-Id: I96b8f625a03b707b45aee6b8e7dbfabe073294c6
2018-06-25 19:52:28 -05:00
Evgeny
ee77feb186
revertingROCP_HSA_INTERCEPT env var
...
Change-Id: I1bf41f5773d194ac409056271a15b61366cc6292
2018-05-10 17:37:54 -05:00
Evgeny
9dec361cd4
SQTT local allocation
...
Change-Id: Ie4a150ad0dc141226f6f1c571916c5a526dd723c
2018-04-29 03:24:46 -05:00
Evgeny
62531b88ed
rc file options: 'basenames', 'timestamp', 'ctx-limit', 'heartbeat', 'sqtt-size'
2018-04-11 13:26:58 -05:00