C.W.K.
Stream
Lesson 03 of 05 · published

Windows + RTX 4090에서 깔기

~14 min · cuda, windows, rtx, visual-studio, setup

Level 0Beginner
0 XP0/38 lessons0/12 achievements
0/100 XP to next level100 XP to go0% complete

2026년 가장 빠른 CUDA 개발 박스: Windows 11 + RTX 40-series

최근 NVIDIA GPU 있고 마찰 0 원하면 Windows가 진짜 가장 부담 없어. driver는 새 GPU 출시 당일 ship되고, Visual Studio integration이 first-party고, Nsight Compute / Nsight Systems가 native로 돌아. Linux setup도 가능한데 Windows setup이 더 빨라.

단계별

  1. Visual Studio 2022 설치 (Community edition 무료). 'Desktop development with C++' workload 선택. CUDA installer가 VS의 C++ 컴파일러 + Windows SDK 필요해 integration 제대로 박으려고. VS 없으면 NVCC가 host 컴파일러로 부를 게 없어.
  2. 최신 Game Ready 또는 Studio driver 설치 NVIDIA 사이트에서. 쓰려는 CUDA Toolkit version 지원하는지 확인 (Toolkit release notes 봐). Windows에서 CUDA 13.2면 driver 555.x 이상.
  3. CUDA Toolkit 13.2 설치. NVIDIA에서 다운로드, installer 돌려, 'Express (Visual Studio Integration)' 선택. NVCC, library (cuBLAS, cuDNN bundled면, cuFFT), Nsight tool, VS integration 다 깔아 — 이러면 VS에서 'CUDA Runtime' 이 project template으로 보여.
  4. toolchain 검증 Developer Command Prompt for VS 2022에서 (이게 cl.exe가 PATH에 있는 prompt).

Code

같은 shell에서 NVCC + cl.exe 검증·bash
:: Open: Developer Command Prompt for VS 2022
nvcc --version
:: 출력: 'release 13.2, V13.2.xx'

cl.exe
:: 출력: 'Microsoft (R) C/C++ Optimizing Compiler Version 19.xx'
:: NVCC가 cl.exe를 host 컴파일러로 쓰니까 — 둘 다 보이는지 확인.
hello.cu 바로 컴파일 + 실행·bash
:: 다음 레슨 hello kernel을 hello.cu로 저장 후:
nvcc -arch=sm_89 hello.cu -o hello.exe
hello.exe
::  Hello from block 0, thread 0
::  Hello from block 0, thread 1
::  Hello from block 0, thread 2
::  Hello from block 0, thread 3

External links

Exercise

개발 머신이 Mac이어도 친구 PC나 cloud Windows instance에서 한 번 Windows path 걸어봐. 왜? CUDA 튜토리얼 거의 다 Windows 또는 Linux + NVIDIA 가정해서, 매끄러운 Windows install 직접 보면 docs 읽을 때 fluent 해져. nvcc --version 됐으면 멈춰 — 나머지 트랙은 둘 다 OS에서 돌아.

Progress

Progress is local-only — sign in to sync across devices.
이 페이지에서 버그를 발견하셨거나 피드백이 있으세요?문제 신고

댓글 0

🔔 답글 알림 (로그인 필요)
로그인댓글을 남기려면 로그인해 주세요.

아직 댓글이 없어요. 첫 댓글을 남겨보세요.