ファイル
rocm-systems/tests/common/fwd.h
T
Trowbridge, Ian de3a874b1a Add rocDecode API support (#4)
* Add rocDecode API support

* Update CI

* CI update: Sanitizers run on ubuntu 22.04

---------

Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
2025-01-21 21:00:43 -06:00

57 行
799 B
C

#pragma once
#include <dlfcn.h>
#ifdef __cplusplus
extern "C" {
#endif
#if defined(ROCP_REG_TEST_WEAK) && ROCP_REG_TEST_WEAK > 0
# pragma weak hip_init
# pragma weak hsa_init
# pragma weak roctxRangePush
# pragma weak roctxRangePop
# pragma weak ncclGetVersion
# pragma weak rocDecCreateDecoder
#endif
extern void
hip_init(void);
extern void
hsa_init(void);
extern void
roctxRangePush(const char*);
extern void
roctxRangePop(const char*);
enum ncclResult_t
{
};
extern ncclResult_t
ncclGetVersion(int* version);
enum rocDecStatus
{
};
enum rocDecDecoderHandle
{
};
enum RocDecoderCreateInfo
{
};
extern rocDecStatus
rocDecCreateDecoder(rocDecDecoderHandle* decoder_handle,
RocDecoderCreateInfo* decoder_create_info);
#ifdef __cplusplus
}
#endif