Commit Graph

261 Commits

Author SHA1 Message Date
Wen-Heng (Jack) Chung b7aa8fedb7 Introduce a new API roctracer_get_timestamp().
roctracer_status_t roctracer_get_timestamp(uint64_t* timestamp);

Get system timestamp for roctracer clients.

The API could be used to help roctracer clients understand the reference frame
of timestamps when receiving activity callbacks, as the nanoseconds reported in
the activity callbacks are not in the same reference frame as CPU walltime
clock.
2019-12-19 18:05:33 +00:00
Evgeny 23a1d54acf renaming libmcwamp_hsa to libmcwamp; force loading of roctx library; 2019-12-12 19:03:26 -06:00
Evgeny b5b45f4414 adding delay -1 to rate controll as trace start disabled 2019-12-11 13:57:23 -06:00
Evgeny 0316b23df0 enabling of trace disable for HIP-VDI 2019-12-08 12:38:19 -06:00
Evgeny e606af1499 corremation id initialization fix 2019-12-08 12:11:50 -06:00
Evgeny c58f1f411c hcc corr id wait enabled by default 2019-12-05 18:13:30 -06:00
Evgeny 9d37542470 lib onload trace 2019-12-05 18:08:17 -06:00
Evgeny 76f85f8265 onload trace 2019-12-05 17:59:31 -06:00
Evgeny 7b3ce9a616 porting to clang 2019-12-05 11:23:18 -06:00
eshcherb 5a76e40d43 Update LICENSE 2019-12-04 16:34:23 -06:00
Evgeny 8475e25e7a kfd trace fix: disbale recursive callback; disable open/close API tracing; 2019-12-03 09:43:50 -06:00
Evgeny 7138c5787b enabling hip id wait for HIP-VDI 2019-11-27 19:39:32 -06:00
Evgeny 3bc5beb480 adding sys|roctx test 2019-11-27 19:16:27 -06:00
Evgeny 0560d99d0f hip_vdi: disabling calllback/activity disable 2019-11-27 19:10:53 -06:00
Evgeny e09d753ef7 enabling of KFD API callbacks to MatricTranspose_test 2019-11-26 15:28:54 -06:00
Evgeny 74bf95082a adding roctx instrumentation to MatrixTranspose test 2019-11-25 16:18:52 -06:00
Evgeny a0a993bf0d fix RPM packaging, setting rpm_post as RPM_POST_INSTALL 2019-11-25 16:18:52 -06:00
eshcherb 127a6e1f43 Update README.md 2019-11-22 17:50:30 -06:00
eshcherb 2ee7893e6d Update README.md 2019-11-22 17:49:37 -06:00
Evgeny ac5390cdb2 adding rpath for tests to use teh proper profiling library 2019-11-21 17:27:06 -06:00
eshcherb fb0140ec66 Merge pull request #25 from whchung/revise-if
Revise the return type of roctracer_next_record to roctracer_status_t.
2019-11-20 20:21:41 -06:00
Evgeny 8e85eb1cef global counter optimizing 2019-11-19 23:19:11 -06:00
Evgeny 44b5860b0e cosmetic change 2019-11-15 12:35:28 -06:00
eshcherb 504b7b26c6 Update README.md 2019-11-14 10:13:42 -06:00
eshcherb e16afba208 Update README.md 2019-11-14 10:13:08 -06:00
Evgeny f2b6a6b35c update: dlopen of target runtimes with NOLOAD; enabled KFD domain in explicite test 2019-11-13 11:57:17 -06:00
eshcherb a11eb168a5 Merge pull request #27 from rkebichi/rkebichi-rem-macro
Remove KFD_WRAPPER macro
2019-11-12 17:22:27 -06:00
Rachida Kebichi 19ad236bcf change permission to x 2019-11-12 18:06:34 -05:00
rkebichi 3aa084a248 Update tracer_tool.cpp 2019-11-12 17:29:43 -05:00
rkebichi 475b3619d5 Update MatrixTranspose.cpp 2019-11-12 17:28:30 -05:00
rkebichi f0b49ac122 Update CMakeLists.txt 2019-11-12 17:27:33 -05:00
rkebichi e57a2125d7 Update roctracer.cpp 2019-11-12 17:26:52 -05:00
rkebichi e177ff2c1f Update CMakeLists.txt 2019-11-12 17:24:57 -05:00
rkebichi ad5080dabc Update env.cmake 2019-11-12 17:23:41 -05:00
rkebichi 719e2a42c8 Update CMakeLists.txt 2019-11-12 17:14:23 -05:00
Evgeny 86dbe20e82 fixing test with conditinoal kfd wrapper compilatipn 2019-11-12 12:35:35 -06:00
eshcherb 415cab134c Merge pull request #19 from rkebichi/rkebichi-patch-kfd-1
Rkebichi patch kfd 1
2019-11-12 10:17:11 -06:00
rkebichi d4014f5d44 Update gen_ostream_ops.py 2019-11-12 09:55:46 -05:00
eshcherb 2bcf1c5554 Merge branch 'amd-master' into rkebichi-patch-kfd-1 2019-11-11 19:05:50 -06:00
rkebichi 5ef1033260 Update gen_ostream_ops.py
New version of script generates all expected fields for KFD API. I checked all structs and made sure nested structs and unions, named or anonymous are handled properly.
2019-11-07 16:06:21 -05:00
Wen-Heng (Jack) Chung f730fb6a4e Revise the return type of roctracer_next_record to roctracer_status_t. 2019-11-06 10:54:45 -06:00
Evgeny 6a442864a3 hip-vdi sync activity callback fix 2019-11-06 09:11:11 -06:00
rkebichi 79dc82177c Update Makefile 2019-10-31 11:13:49 -04:00
rkebichi c17a5acb06 Update MatrixTranspose.cpp 2019-10-31 10:51:53 -04:00
rkebichi 1a62e18593 Update roctracer_kfd.h 2019-10-31 10:48:42 -04:00
rkebichi 0aa6df2b52 Update roctracer_kfd.h 2019-10-30 17:26:57 -04:00
rkebichi 3a8ae2fff4 Update CMakeLists.txt 2019-10-30 17:21:20 -04:00
rkebichi becaf5d074 Update Makefile 2019-10-30 17:18:18 -04:00
rkebichi b9e7638ef9 Update roctracer_kfd.h 2019-10-30 17:16:54 -04:00
rkebichi 34fbe19977 Update gen_ostream_ops.py 2019-10-30 17:01:39 -04:00