Commit 183c47d0 authored by Steffen Vogel's avatar Steffen Vogel 🎅🏼
Browse files

plugin: fix lookup

parent a6202d3d
Pipeline #293327 failed with stages
in 4 seconds
......@@ -69,7 +69,7 @@ villas::gpu::GpuAllocator::getName() const
GpuFactory::GpuFactory() :
Plugin("GPU", "GpuFactory")
Plugin("cuda", "CUDA capable GPUs")
{
logger = villas::logging.get("GpuFactory");
}
......
......@@ -95,7 +95,7 @@ setupFpgaCard(const std::string& configFile, const std::string& fpgaName)
}
// get the FPGA card plugin
auto fpgaCardPlugin = plugin::Registry::lookup<fpga::PCIeCardFactory>("");
auto fpgaCardPlugin = plugin::Registry::lookup<fpga::PCIeCardFactory>("pcie");
if(fpgaCardPlugin == nullptr) {
logger->error("No FPGA plugin found");
exit(1);
......
......@@ -44,7 +44,7 @@ Test(fpga, gpu_dma, .description = "GPU DMA tests")
auto& card = state.cards.front();
auto gpuPlugin = villas::Plugin::Registry<GpuFactory>("");
auto gpuPlugin = villas::Plugin::Registry<GpuFactory>("cuda");
cr_assert_not_null(gpuPlugin, "No GPU plugin found");
auto gpus = gpuPlugin->make();
......
......@@ -260,7 +260,7 @@ Test(fpga, rtds2gpu_rtt_gpu, .description = "Rtds2Gpu RTT via GPU")
cr_assert_not_null(gpu2rtds, "No Gpu2Rtds IP found");
cr_assert_not_null(rtds2gpu, "No Rtds2Gpu IP not found");
auto gpuPlugin = villas::Registry::lookup<GpuFactory>("");
auto gpuPlugin = villas::Registry::lookup<GpuFactory>("cuda");
cr_assert_not_null(gpuPlugin, "No GPU plugin found");
auto gpus = gpuPlugin->make();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment