2
나는 pycuda 앱을 간단하게 테스트하고 프로필을 작성하려고합니다. 나는이 오류를 방출, 프로그램 11 번을 실행 NVIDIA의 계산 비주얼 프로파일 러를 시도했다 :Linux에서 PyCuda 코드를 프로파일하는 방법은 무엇입니까?
NV_Warning: Ignoring the invalid profiler config option: fb0_subp0_read_sectors
Error : Profiler data file '/home/jguy/proj/gpu/tdbp/pyArch/temp_compute_profiler_0_0.csv' does not contain profiler output.This can happen when:
a) Profiling is disabled during the entire run of the application.
b) The application does not invoke any kernel launches or memory transfers.
c) The application does not release resources (contexts, events, etc.). The program needs to be modified to properly free up all resources before termination.
가 나는 또한 "CUDA_PROFILE 파이썬 scriptname.py의 ARG1"을 실행했습니다. 한 시간 동안 인터넷 검색되었습니다
CUDA_PROFILE_CONFIG=temp_cuda_profiler.conf
CUDA_PROFILE_CSV=1
CUDA_PROFILE_LOG=profile.csv
CUDA_PROFILE=1
및 temp_cuda_profiler.conf이
gpustarttimestamp
instructions
이 포함
NV_Warning: Ignoring the invalid profiler config option: instructions
# CUDA_PROFILE_LOG_VERSION 2.0
# CUDA_DEVICE 0 GeForce GTX 560 Ti
# CUDA_PROFILE_CSV 1
# TIMESTAMPFACTOR fffff7003e38fec8
gpustarttimestamp,method,gputime,cputime,occupancy
그것이 유용 경우
, 나는 이러한 환경 설정 바르 있습니다 : 그것은 포함하는 파일을 생성 그 쯤. 불운. 제공 할 수있는 통찰력에 감사드립니다!