#ifndef UCT_ROCM_COPY_IFACE_H
#define UCT_ROCM_COPY_IFACE_H
#include <uct/base/uct_iface.h>
#include <hsa.h>
#define UCT_ROCM_COPY_TL_NAME "rocm_cpy"
typedef uint64_t uct_rocm_copy_iface_addr_t;
typedef struct uct_rocm_copy_iface {
uct_base_iface_t super;
uct_rocm_copy_iface_addr_t id;
hsa_signal_t hsa_signal;
struct {
size_t d2h_thresh;
size_t h2d_thresh;
} config;
} uct_rocm_copy_iface_t;
typedef struct uct_rocm_copy_iface_config {
uct_iface_config_t super;
size_t d2h_thresh;
size_t h2d_thresh;
} uct_rocm_copy_iface_config_t;
#endif