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
  • Workspace
  • GPU Manager

Was this helpful?

2. GPU Execution Architecture in CODE.HEAAN

Previous1. IntroductionNext3. Start a new project with HEaaN

Last updated 16 days ago

Was this helpful?

Workspace

A workspace is an independent development environment provided to each user. It operates through the browser, and you can write code from anywhere, on any device, as long as it has an internet connection.

The workspace has the following features:

  • CPU-only development environment

  • Network File System(NFS) based storage

  • HEaaN library is prepared and ready to use

  • A CLI gpu-run for GPU execution

  • Minimal CUDA packages ready to use

GPU Manager

The GPU Manager is a centralized module that processes user’s gpu-run requests.

When a gpu-run request is received:

  1. Provisions a GPU instance.

  2. Executes the requesting user's executable file on a GPU instance created dedicated for that user.

  3. The execution results are stored in the gpu_run_directory.

  4. Destroy the GPU instance after job is completed.

This is the simple execution architecture of CODE.HEAAN.