끄적끄적

끄적끄적

  • 분류 전체보기 (55)
    • 메모장(2023) (1)
    • 서버 (9)
    • Nvidia News (1)
    • Python (1)
      • Pytorch (1)
      • Pandas (0)
    • Window (2)
    • Mac (1)
    • 논문 (11)
    • Diffusion (0)
  • 홈
  • 태그
  • 방명록
RSS 피드
로그인
로그아웃 글쓰기 관리

끄적끄적

컨텐츠 검색

태그

CUDA gdb pytorch nsight 오블완 nvidia-systems 한영키 NSYS 티스토리챌린지 window Nvidia Torch python

최근글

댓글

공지사항

아카이브

Torch(1)

  • Sleep 1 second in torch.cuda

    import torch # Warm-up CUDA. torch.empty(1, device="cuda") start = torch.cuda.Event(enable_timing=True) end = torch.cuda.Event(enable_timing=True) start.record() torch.cuda._sleep(1000000) end.record() end.synchronize() cycles_per_ms = 1000000 / start.elapsed_time(end) print(cycles_per_ms) def cuda_sleep(seconds): torch.cuda._sleep(int(seconds * 1234592.2450473267 * 1000))

    2024.02.07
이전
1
다음
티스토리
© 2018 TISTORY. All rights reserved.

티스토리툴바