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
  • Create Build Directory and Configure CMake
  • Compile the source codes

Was this helpful?

  1. 3. Start a new project with HEaaN

3-4. Build and Compile

Create Build Directory and Configure CMake

# Run from project root directory
cmake -S . -B ./build -DCMAKE_BUILD_TYPE=Release

Compile the source codes

# Navigate to build directory
cd build

# Run compilation with parallel build
make -j
# make -j$(nproc)
Previous3-3. CMake ConfigurationNext3-5. Run (gpu-run)

Last updated 7 days ago

Was this helpful?