Skip to content

Commit

Permalink
fix bug in fabtests dmabuf detect
Browse files Browse the repository at this point in the history
  • Loading branch information
shijin-aws committed Nov 6, 2023
1 parent 1a6ad93 commit b439a80
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions fabtests/common/hmem_cuda.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,8 @@ static int ft_cuda_hmem_detect_dmabuf_support(void)
}

dmabuf_supported = (is_supported == 1);
return FI_SUCCESS;
#else
return -FI_EOPNOTSUPP;
#endif
return FI_SUCCESS;
}

int ft_cuda_init(void)
Expand Down

0 comments on commit b439a80

Please sign in to comment.