Skip to main content
Ctrl+K
AMD Logo
ROCm™ Software 6.4.3 Version List
  • GitHub
  • Community
  • Blogs
  • ROCm Developer Hub
  • Instinct™ Docs
  • Infinity Hub
  • Support

ROCm documentation

HIP 6.4.43484 Documentation

  • What is HIP?
  • Frequently asked questions

Install

  • Installing HIP
  • Building HIP from source
  • Linux supported AMD GPUs
  • Windows supported AMD GPUs
  • NVIDIA supported GPUs

Programming guide

  • Introduction to the HIP programming model
  • Hardware implementation
  • HIP compilers
  • Performance guidelines
  • Debugging with HIP
  • Logging HIP activity
  • Using HIP runtime API
    • Initialization
    • Memory management
      • Host memory
      • Device memory
        • Texture fetching
      • Coherence control
      • Unified memory management
      • Virtual memory management
      • Stream Ordered Memory Allocator
    • Error handling
    • Call stack
    • Asynchronous concurrent execution
    • HIP graphs
    • Cooperative groups
    • Multi-device management
    • OpenGL interoperability
    • External resource interoperability
  • HIP C++ language extensions
  • Kernel language C++ support
  • HIP porting guide
  • Porting CUDA driver API
  • Programming for HIP runtime compiler (RTC)
  • AMD compute language runtimes (CLR)

Reference

  • HIP runtime API
    • Modules
      • Initialization and version
      • Device management
      • Execution control
      • Error handling
      • Stream management
      • Stream memory operations
      • Event management
      • Memory management
        • Memory management (deprecated)
        • External resource interoperability
        • Stream ordered memory allocator
        • Managed memory
        • Virtual memory management
        • Texture management
        • Texture management (deprecated)
        • Surface object
      • Peer to peer device memory access
      • Context management [deprecated]
      • Module management
      • Occupancy
      • Profiler control
      • Launch API
      • Runtime compilation
      • Callback activity APIs
      • Graph management
      • Graphics interoperability
      • OpenGL interoperability
      • Cooperative groups
    • Global defines, enums, structs and files
      • Global enum and defines
      • Driver types
      • Data Structures
      • File List
  • HIP math API
  • HIP complex math API
  • HIP environment variables
  • HIP error codes
  • CUDA to HIP API Function Comparison
  • List of deprecated APIs
  • Low Precision Floating Point Types
  • Hardware features

Tutorials

  • HIP basic examples
  • HIP examples
  • SAXPY - Hello, HIP
  • Reduction
  • Cooperative groups

About

  • License
  • HIP runtime API

HIP runtime API

Contents

  • Modules
  • Global defines, enums, structs and files

HIP runtime API#

The HIP Runtime API reference includes descriptions of HIP functions, as well as global datatypes, enums, and structs.

Modules#

The API is organized into modules based on functionality.

  • Initialization and version

  • Device management

  • Execution control

  • Error handling

  • Stream management

  • Stream memory operations

  • Event management

  • Memory management

    • Memory management (deprecated)

    • External resource interoperability

    • Stream ordered memory allocator

    • Managed memory

    • Virtual memory management

    • Texture management

    • Texture management (deprecated)

    • Surface object

  • Peer to peer device memory access

  • Context management [deprecated]

  • Module management

  • Occupancy

  • Profiler control

  • Launch API

  • Runtime compilation

  • Callback activity APIs

  • Graph management

  • OpenGL interoperability

  • Graphics interoperability

  • Cooperative groups

Global defines, enums, structs and files#

The structs, define macros, enums and files in the HIP runtime API.

  • Global enum and defines

  • Driver types

  • Data Structures

  • File List

previous

AMD compute language runtimes (CLR)

next

Modules

Contents
  • Modules
  • Global defines, enums, structs and files

  • Terms and Conditions
  • ROCm Licenses and Disclaimers
  • Privacy
  • Trademarks
  • Supply Chain Transparency
  • Fair and Open Competition
  • UK Tax Strategy
  • Cookie Policy
  • Cookie Settings
© 2025 Advanced Micro Devices, Inc