diff --git a/src/nccl_ofi_topo.c b/src/nccl_ofi_topo.c index 8bf0ceabd..92cfe57c0 100644 --- a/src/nccl_ofi_topo.c +++ b/src/nccl_ofi_topo.c @@ -17,13 +17,8 @@ #include "nccl_ofi_math.h" #include "nccl_ofi_ofiutils.h" -#if HAVE_CUDA static const uint8_t target_class_id = 0x03; /* Display controller class */ static const unsigned short target_vendor_id = 0x10de; /* NVIDIA */ -#else -static const uint8_t target_class_id = 0x08; /* System peripheral */ -static const unsigned short target_vendor_id = 0x1d0f; /* Amazon */ -#endif /* Maximum length of the device property read from file by function * get_device_property() */