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
  • Clearing CMake Cache
  • Setting Build Options

Was this helpful?

  1. 3. Start a new project with HEaaN

Additional tips

Clearing CMake Cache

If you encounter issues during the build process, try clearing the cache and rebuilding:

rm -rf build
cmake -S . -B build

Setting Build Options

you can customize your project using various build options:

cmake -S . -B build \\
      -DCMAKE_BUILD_TYPE=Debug \\
      -DBUILD_TESTS=ON \\
      -DBUILD_EXAMPLES=ON
Previous3-6. Check the resultsNext4. Example Codes

Last updated 7 days ago

Was this helpful?