Skip to content

[HIPIFY][Feature] Adding ability to hipify only header files in hipconvertinplace-perl.sh #1474

@mcordery

Description

@mcordery

Problem Description

In working on porting a library, I've run in to the situation where I'm only making use of the header files in a library (e.g. .h, .cuh) and none of the .cu files which may only be tests or library code that I'm not making use of. It would be nice if hipifyconvertinplace.sh had the ability to take a flag, e.g. --convert-headers-only, that could be passed to findcode.sh. This would provide the benefits of

  1. reducing the amount of translation time, sometimes significantly
  2. reducing the amount of output that needs to be parsed for errors/warnings about things that need to be addressed.

Operating System

Ubuntu

CPU

Intel

ROCm Version

ROCm 6.0.0

ROCm Component

HIPIFY

Steps to Reproduce

No response

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response

Metadata

Metadata

Assignees

Labels

featureFeature request or implementationquestionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions