mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
gpu: fix include paths and some linker settings
This commit is contained in:
parent
76b1695586
commit
4158ddb792
4 changed files with 8 additions and 9 deletions
|
@ -50,7 +50,7 @@ RUN yum -y install epel-release centos-release-scl
|
|||
|
||||
# Toolchain
|
||||
RUN yum -y install \
|
||||
gcc gcc-c++ \
|
||||
devtoolset-7-toolchain \
|
||||
pkgconfig make cmake3 \
|
||||
autoconf automake autogen libtool \
|
||||
texinfo git curl tar
|
||||
|
@ -67,9 +67,9 @@ RUN yum -y install \
|
|||
|
||||
# Build & Install Criterion
|
||||
COPY thirdparty/criterion /tmp/criterion
|
||||
RUN mkdir -p /tmp/criterion/build && cd /tmp/criterion/build && cmake .. && make install && rm -rf /tmp/*
|
||||
RUN mkdir -p /tmp/criterion/build && cd /tmp/criterion/build && cmake3 .. && make install && rm -rf /tmp/*
|
||||
|
||||
ENV LD_LIBRARY_PATH /usr/local/lib:/usr/local/lib64
|
||||
|
||||
WORKDIR /fpga
|
||||
ENTRYPOINT bash
|
||||
ENTRYPOINT scl enable devtoolset-7 bash
|
||||
|
|
|
@ -39,7 +39,7 @@ set_source_files_properties(gpu.cpp PROPERTIES
|
|||
target_include_directories(villas-gpu PRIVATE /opt/cuda/include)
|
||||
|
||||
target_link_libraries(villas-gpu
|
||||
PRIVATE villas-common gdrapi cuda)
|
||||
PUBLIC villas-common gdrapi cuda)
|
||||
|
||||
target_include_directories(villas-gpu
|
||||
PUBLIC
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#include <villas/gpu.hpp>
|
||||
#include <villas/log.hpp>
|
||||
#include <villas/kernel/pci.h>
|
||||
#include <memory_manager.hpp>
|
||||
#include <villas/memory_manager.hpp>
|
||||
|
||||
#include <cuda.h>
|
||||
#include <cuda_runtime.h>
|
||||
|
|
|
@ -25,12 +25,11 @@
|
|||
|
||||
#include <sstream>
|
||||
|
||||
#include <plugin.hpp>
|
||||
#include <memory_manager.hpp>
|
||||
#include <memory.hpp>
|
||||
#include <villas/plugin.hpp>
|
||||
#include <villas/memory_manager.hpp>
|
||||
#include <villas/memory.hpp>
|
||||
#include <villas/log.hpp>
|
||||
|
||||
|
||||
namespace villas {
|
||||
namespace gpu {
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue