GPU Developer's Guide
  • 1. Introduction
  • 2. GPU Execution Architecture in CODE.HEAAN
  • 3. Start a new project with HEaaN
    • 3-1. Create Project Directory
    • 3-2. Set up Basic Directory Structure
    • 3-3. CMake Configuration
    • 3-4. Build and Compile
    • 3-5. Run (gpu-run)
    • 3-6. Check the results
    • Additional tips
  • 4. Example Codes
    • 4-1. CUDA
    • 4-2. HEaaN End to End Example
  • HEaaN GPU Guideline
    • HEaaN GPU Component Overview
    • CudaTools
    • Device Class
    • HEaaN GPU API in use
  • Not supported features
Powered by GitBook

Copyright©️ 2025 CryptoLab, Inc. All rights reserved.

On this page

Was this helpful?

  1. 3. Start a new project with HEaaN

3-2. Set up Basic Directory Structure

Set up a basic directory structure to organize your project:

mkdir -p src make tests examples

Example directory structures:

my_heaan_project/
├── cmake/           # CMake moduls and utilities
├── src/             # Source code
├── tests/           # Test code (optional)
├── examples/        # Example code (optional)
└── CMakeLists.txt   # Root CMake configuration file
Previous3-1. Create Project DirectoryNext3-3. CMake Configuration

Last updated 7 days ago

Was this helpful?