HIPIFY icon indicating copy to clipboard operation
HIPIFY copied to clipboard

[HIPIFY][#782][SWDEV-382258][feature] C vs C++ API distinguishing

Open emankov opened this issue 2 years ago • 0 comments

[ToDo]

  • Add new markers CUDA_C, CUDA_CPP, HIP_C, HIP_CPP, maybe ROC_C and ROC_CPP as well to the API matching entities, where we have such information
  • If the above additional information is absent, the different number of arguments should be taken into account

[IMP]

  • Depends on #782

[Example]

CUDA C API:

extern __host__ cudaError_t CUDARTAPI cudaEventCreate(cudaEvent_t *event);

HIP API:

hipError_t hipEventCreate(hipEvent_t* event);

CUDA C++ API:

static __inline__ __host__ cudaError_t cudaEventCreate(cudaEvent_t  *event, unsigned int  flags);

HIP API:

hipError_t hipEventCreateWithFlags(hipEvent_t* event, unsigned flags);

emankov avatar Feb 23 '23 12:02 emankov