I updated from v0.9.6. to v1.0.0. on an ubuntu and a windows system and realized that windows compatibility is gone with v1.0.0.
more specifically, these two lines cause an exception (Failed to load the NCU injection library):
|
inj_lib_path = os.path.join(inj_dir, "libcuda-injection.so") |
and
Changing L 145 to
inj_lib_path = os.path.join(inj_dir, "cuda-injection.dll") if os.name =="nt" else os.path.join(inj_dir, "libcuda-injection.so")
and L 117 to
if os.name != "posix" and os.name != "nt":
fixes the issue.
Are you planning to drop Windows Support in Future or should i prepare a PR?
I updated from v0.9.6. to v1.0.0. on an ubuntu and a windows system and realized that windows compatibility is gone with v1.0.0.
more specifically, these two lines cause an exception (Failed to load the NCU injection library):
nsight-python/nsight/collection/ncu.py
Line 145 in f5d6525
and
nsight-python/nsight/collection/ncu.py
Line 117 in f5d6525
Changing L 145 to
and L 117 to
fixes the issue.
Are you planning to drop Windows Support in Future or should i prepare a PR?