kernel-regex does not seems to work

Hi,

My system config

nv-nsight Version 2019.4.0 (Build 26818151)
CUDA 10.2
NV driver 440.64
TF 2.2 (nightly)

my args were :

nv-nsight-cu-cli --profile-from-start=off --csv --kernel-regex="(?i).*fft.*|.*grad.*" python ...

I have verified that my kernels list that will be execute does contains these kernels:

  • fft2d_c2r_32x32
  • cudnn::detail::dgrad2d_alg1_1

I have also tried to do each one by themselves

  • so just
--kernel-regex=".*fft.*"

Thanks in advance

Nevermind it was the

""

quotes. Ha

Using --kernel-regex with “…” is expected to work. Can you please provide more details on what change you had to make to get it working?

Thanks

I removed the quotes.

nv-nsight-cu-cli --profile-from-start=off --csv --kernel-regex=(?i).*fft.*|.*grad.* python ...

Which OS and command shell did you run nv-nsight-cu-cli from?

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=19.04
DISTRIB_CODENAME=disco
DISTRIB_DESCRIPTION="Ubuntu 19.04"
NAME="Ubuntu"
VERSION="19.04 (Disco Dingo)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 19.04"
VERSION_ID="19.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=disco
UBUNTU_CODENAME=disco

And command shell was Bash