diff --git a/hccl_ofi_wrapper_interface.h b/hccl_ofi_wrapper_interface.h index 506b542..9c557fb 100644 --- a/hccl_ofi_wrapper_interface.h +++ b/hccl_ofi_wrapper_interface.h @@ -21,18 +21,17 @@ using ofi_plugin_interface_handle = std::unique_ptr; 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;