Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/install/ubuntu_install_papi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ apt-install-and-clear -y linux-tools-common linux-tools-generic kmod

cd /
# Pulling the latest version of this has broken the images before. Checkout the tagged version below for now.
git clone --branch papi-6-0-0-1-t https://bitbucket.org/icl/papi.git
git clone --branch papi-6-0-0-1-t https://github.com/icl-utk-edu/papi
cd papi/src
export PAPI_CUDA_ROOT=/usr/local/cuda
export PAPI_ROCM_ROOT=/opt/rocm
Expand Down
4 changes: 2 additions & 2 deletions docs/how_to/profile/papi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Installing PAPI

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

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``.

Expand Down Expand Up @@ -102,7 +102,7 @@ You can also change which metrics are collected:
report = vm.profile(
data,
func_name="main",
collectors=[tvm.runtime.profiling.PAPIMetricCollector({dev: ["PAPI_FP_OPS"])],
collectors=[tvm.runtime.profiling.PAPIMetricCollector({dev: ["PAPI_FP_OPS"]})],
)

.. code::
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/contrib/papi/papi.cc
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ int component_for_device(Device dev) {
* PAPI (Performance Application Programming Interface) collects metrics on a
* variety of platforms including cpu, cuda and rocm.
*
* PAPI is avaliable at https://bitbucket.org/icl/papi/src/master/.
* PAPI is avaliable at https://github.com/icl-utk-edu/papi.
*/
struct PAPIMetricCollectorNode final : public MetricCollectorNode {
/*! \brief Construct a metric collector that collects a specific set of metrics.
Expand Down