tkestack / vcuda-controller

Other
499 stars 159 forks source link

why is nvmlDeviceSetComputeMode disabled when vcuda is enabled? #23

Open matinjugou opened 2 years ago

matinjugou commented 2 years ago
nvmlReturn_t nvmlDeviceSetComputeMode(nvmlDevice_t device,
                                      nvmlComputeMode_t mode)
{
  if (g_anycuda_config.enable)
  {
    return NVML_ERROR_NOT_SUPPORTED;
  }

  return NVML_ENTRY_CALL(nvml_library_entry, nvmlDeviceSetComputeMode, device,
                         mode);
}