일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 |
- 강화학습
- CPP
- Recursion
- 동적라이브러리
- 경로생성
- Leetcode
- 선형대수
- OSQP
- MDP
- self driving car
- GNN
- 수치최적화
- GIT
- 백준
- C
- Graph Neural Network
- autonomous vehicle
- Motion Planning
- 소프티어
- C++
- solver
- Dubins Path
- CUDA
- Frenet Coordinate
- 공유라이브러리
- PathPlanning
- Hybrid A star
- path planning
- 정적라이브러리
- DynamicProgramming
- Today
- Total
목록CUDA (3)
Swimmer
CUDA 예제 프로그램 작성 및 실행을 통한 CUDA 테스트 https://jhui.github.io/2017/03/06/CUDA/ “CUDA Tutorial” Sample code in adding 2 numbers with a GPU Terminology: Host (a CPU and host memory), device (a GPU and device memory). This sample code adds 2 numbers together with a GPU: Define a kernel (a function to run on a GPU). Allocate & initialize the host data. jhui.github.io 위 github 페이지를 작성해서 덧셈 연산을 GPU로 수행하도록 ..
CUDA 설치 및 사용 튜토리얼은 인터넷에 검색하는것 보다, NVIDIA 공식 문서를 보는것이 가장 효율적인것 같다. https://docs.nvidia.com/cuda/cuda-installation-guide-microsoft-windows/index.html Installation Guide Windows :: CUDA Toolkit Documentation When creating a new CUDA application, the Visual Studio project file must be configured to include CUDA build customizations. To accomplish this, click File-> New | Project... NVIDIA-> CUDA->, ..
원글 : https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#programming-model 2.1. Kernel (CUDA에서의 함수, N개의 thread에서 독립적으로 한번씩 실행되는 함수) Kernel이란 1회 호출 시, 복수개의 CUDA 쓰레드에서 동시에 실행되는 C++ 형식의 함수를 의미한다. Kernel은 CUDA C++에 포함되어 있다. 일반 C++ 함수는 1회 호철 시 1번 실행되는 것과 달리 Kernel은 1회 호출하더라도 복수번 실행되는 것이 특징이다. Kernel은 '__global__' 이라는 선언자를 통해 정의된다. Kernel 호출 시 실행되는 복수개의 Thread는 각각 ID가 부여된다. 실행될 Thread의 개수..