Mock the nsight compute tool with a bash script

This commit is contained in:
Cosmin Ștefan Ciocan
2024-01-26 11:25:58 +00:00
parent 36fc282eed
commit b49062e9e2
4 changed files with 17 additions and 5 deletions
-5
View File
@@ -15,11 +15,6 @@ RUN apt install -y \
python3.10-venv \
vim
# the mkdir command bypasses a profiler error, which allows us to run it with
# host code only to at least check that the profiler parameters are correctly
# provided; without this line, some tests will fail
RUN mkdir -p /usr/lib/x86_64-linux-gnu/nsight-compute/sections
# we create the virtualenv here so that the devcontainer.json setting
# python.defaultInterpreterPath can be used to find it; if we do it in the
# post_create.sh script, the virtualenv will not be loaded and features like