You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The target application terminated. One or more process it created re-parented.
Waiting for termination of re-parented processes.
Use the `--wait` option to modify this behavior.
importnumpyasnpimportcupyascpimportnvtx@nvtx.annotate("fft function", color="blue")deffast_fft(input_array):
withnvtx.annotate("Copy input array to GPU and CuPy", color="red"):
gpu_array=cp.array(input_array)
withnvtx.annotate("GPU FFT operation", color="yellow"):
result=cp.fft.fft(gpu_array)
withnvtx.annotate("Copy back to CPU and Numpy", color="green"):
cpu_result=cp.asnumpy(result)
returncpu_resultforiinrange(5):
print(fast_fft(np.random.random(10)))
profile工具上手
one-yolov5项目
如果执行nsys产生报错
请将 train.py中 check_git_status() 这一行注释
glm 项目
The text was updated successfully, but these errors were encountered: