hipify-perl command

Contents

hipify-perl command#

For a list of hipify-perl options, run:

hipify-perl --help

Output:#

Usage#

hipify-perl [options] <source0> [... <sourceN>]

Options#

Options

Description

-cuda-kernel-execution-syntax

Keep CUDA kernel launch syntax (default)

-examine

Combines -no-output and -print-stats options

-exclude-dirs=<string>

Exclude directories

-exclude-files=<string>

Exclude files

-experimental

HIPIFY experimentally supported APIs

-help

Display available options

-hip-kernel-execution-syntax

Transform CUDA kernel launch syntax to a regular HIP function call (overrides --cuda-kernel-execution-syntax)

-inplace

Backs up the input file in .prehip file, and modifies the input file in-place

-no-output

Don’t write any translated output to stdout

-o=<string>

Output filename

-print-stats

Print translation statistics as described in Hipification statistics

-quiet-warnings

Don’t print warnings on unknown CUDA identifiers

-roc

Translate to roc libraries instead of hip libraries where possible

-version

The supported HIP version

-whitelist=<string>

Whitelist of identifiers