Skip to content

Commit

Permalink
Update hccl_ofi_wrapper_interface.h
Browse files Browse the repository at this point in the history
  • Loading branch information
ytava committed Aug 21, 2024
1 parent c3aff89 commit db12090
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions hccl_ofi_wrapper_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,17 @@ using ofi_plugin_interface_handle = std::unique_ptr<ofi_plugin_interface>;
class ofi_plugin_interface
{
public:
virtual ~ofi_plugin_interface() = default;
virtual int w_fi_getinfo(int version,
const char* node,
const char* service,
uint64_t flags,
const struct fi_info* hints,
struct fi_info** info) = 0;
virtual struct fi_info* w_fi_allocinfo() = 0;
virtual void w_fi_freeinfo(struct fi_info* info) = 0;
virtual const char* w_fi_strerror(int err) = 0;
virtual char* w_fi_tostr(const void* data, enum fi_type datatype) = 0;
virtual int w_fi_close(fid_t domain) = 0;
struct fi_info** info) = 0;
virtual struct fi_info* w_fi_allocinfo() = 0;
virtual void w_fi_freeinfo(struct fi_info* info) = 0;
virtual const char* w_fi_strerror(int err) = 0;
virtual char* w_fi_tostr(const void* data, enum fi_type datatype) = 0;
virtual int w_fi_close(fid_t domain) = 0;
virtual int w_fi_fabric(struct fi_fabric_attr* attr, struct fid_fabric** fabric, void* context) = 0;
virtual int
w_fi_domain(struct fid_fabric* fabric, struct fi_info* info, struct fid_domain** domain, void* context) = 0;
Expand Down

0 comments on commit db12090

Please sign in to comment.