Skip to content

Commit 144ab77

Browse files
committed
add TRITON_XPUPTI_LIB_PATH
Signed-off-by: Anatoly Myachev <[email protected]>
1 parent 1642cd3 commit 144ab77

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/build-test-reusable.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@ jobs:
300300
if: matrix.suite == 'rest' && inputs.driver_version == 'rolling' && inputs.device == 'max1100'
301301
run: |
302302
export LD_LIBRARY_PATH=$PTI_LIBS_DIR:$LD_LIBRARY_PATH
303+
export TRITON_XPUPTI_LIB_PATH=$PTI_LIBS_DIR
303304
cd third_party/proton/test
304305
# FIXME: enable 'test_record.py' back
305306
pytest test_api.py test_lib.py test_profile.py test_viewer.py -s -v

third_party/proton/csrc/lib/Driver/GPU/XpuptiApi.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ struct ExternLibXpupti : public ExternLibBase {
1010
using RetType = pti_result;
1111
static constexpr const char *name = "libpti_view.so";
1212
static constexpr const char *defaultDir = "";
13+
static constexpr const char *pathEnv = "TRITON_XPUPTI_LIB_PATH";
1314
static constexpr RetType success = PTI_SUCCESS;
1415
static void *lib;
1516
};

0 commit comments

Comments
 (0)