Skip to content

Commit 5daa303

Browse files
authored
[Fix] PAPI docs (#16820)
* the papi repo moved to github * fix missing closing curly bracket
1 parent 109804c commit 5daa303

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docker/install/ubuntu_install_papi.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ apt-install-and-clear -y linux-tools-common linux-tools-generic kmod
2727

2828
cd /
2929
# Pulling the latest version of this has broken the images before. Checkout the tagged version below for now.
30-
git clone --branch papi-6-0-0-1-t https://bitbucket.org/icl/papi.git
30+
git clone --branch papi-6-0-0-1-t https://github.com/icl-utk-edu/papi
3131
cd papi/src
3232
export PAPI_CUDA_ROOT=/usr/local/cuda
3333
export PAPI_ROCM_ROOT=/opt/rocm

docs/how_to/profile/papi.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Installing PAPI
3232

3333
PAPI can either be installed using your package manager (``apt-get install libpapi-dev``
3434
on Ubuntu), or from source here:
35-
https://bitbucket.org/icl/papi/src/master/.
35+
https://github.com/icl-utk-edu/papi.
3636

3737
Pulling the latest version of PAPI from source has caused build issues before. Therefore, it is recommended to checkout tagged version ``papi-6-0-0-1-t``.
3838

@@ -102,7 +102,7 @@ You can also change which metrics are collected:
102102
report = vm.profile(
103103
data,
104104
func_name="main",
105-
collectors=[tvm.runtime.profiling.PAPIMetricCollector({dev: ["PAPI_FP_OPS"])],
105+
collectors=[tvm.runtime.profiling.PAPIMetricCollector({dev: ["PAPI_FP_OPS"]})],
106106
)
107107
108108
.. code::

src/runtime/contrib/papi/papi.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ int component_for_device(Device dev) {
9191
* PAPI (Performance Application Programming Interface) collects metrics on a
9292
* variety of platforms including cpu, cuda and rocm.
9393
*
94-
* PAPI is avaliable at https://bitbucket.org/icl/papi/src/master/.
94+
* PAPI is avaliable at https://github.com/icl-utk-edu/papi.
9595
*/
9696
struct PAPIMetricCollectorNode final : public MetricCollectorNode {
9797
/*! \brief Construct a metric collector that collects a specific set of metrics.

0 commit comments

Comments
 (0)