configure: --disable-{cuda,rocr}-dlopen *enable* the respective dlopen behavior
PHHargrove opened this issue · comments
Paul H. Hargrove commented
Using (at least) versions 1.12.1, 1.15.1 or 1.16.1 of libfabric, I find that --disable-rocr-dlopen
and --disable-cuda-dlopen
actually cause config.h
to define ENABLE_ROCR_DLOPEN
or ENABLE_CUDA_DLOPEN
to 1
instead of 0
.
$ [...]/libfabric-1.16.1/configure --with-rocr=/opt/rocm-5.1.0 --disable-rocr-dlopen >/dev/null
$ grep ROCR_DLOPEN config.h
#define ENABLE_ROCR_DLOPEN 1
The default (passing neither --enable-*-dlopen
nor `--disable-*-dlopen) works fine. So this is not a serious problem.