Table of Contents

Migrating from ILGPU

Guide for migrating from ILGPU to DotCompute.

🚧 Documentation In Progress - ILGPU migration guide is being developed.

Overview

This guide helps developers transition from ILGPU to DotCompute.

Key Differences

Compilation Model

TODO: Document compilation differences

Kernel Definition

TODO: Explain kernel definition changes:

  • Source generator approach
  • [Kernel] attribute
  • Type safety

Memory Model

TODO: Document memory model differences

API Structure

TODO: Explain API design differences

Migration Roadmap

Phase 1: Project Setup

TODO: Document project migration:

  • Package updates
  • Configuration changes

Phase 2: Kernel Migration

TODO: Explain kernel code migration:

  • ILGPU kernel → [Kernel] attribute
  • Type updates
  • Syntax changes

Phase 3: Runtime Migration

TODO: Document runtime code changes

Phase 4: Testing

TODO: Explain testing strategy

Side-by-Side Comparison

ILGPU Code

TODO: Show ILGPU example

DotCompute Code

TODO: Show equivalent DotCompute code

Feature Mapping

ILGPU Features → DotCompute Equivalents

TODO: Document feature mapping

Performance Migration

TODO: Explain performance migration path

Examples

TODO: Provide complete migration examples

Troubleshooting

TODO: List common migration issues

See Also