mirror of
https://github.com/marian-nmt/marian.git
synced 2024-11-30 21:39:52 +03:00
Readme
This commit is contained in:
parent
d5cb8578f2
commit
67c620a7a4
@ -2,9 +2,9 @@ cmake_minimum_required(VERSION 3.1.0)
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
|
||||
|
||||
project(amunn CXX)
|
||||
SET(CMAKE_CXX_FLAGS " -std=c++11 -g -O3 -funroll-loops -Wno-unused-result -Wno-deprecated")
|
||||
SET(CMAKE_CXX_FLAGS " -std=c++11 -g -O3 -fPIC -funroll-loops -Wno-unused-result -Wno-deprecated")
|
||||
#SET(CUDA_PROPAGATE_HOST_FLAGS OFF)
|
||||
SET(CUDA_NVCC_FLAGS " -std=c++11 -g -O3 -arch=sm_35 -lineinfo --use_fast_math")
|
||||
SET(CUDA_NVCC_FLAGS " -std=c++11 -g -O3 -fPIC -arch=sm_35 -lineinfo --use_fast_math")
|
||||
#SET(CUDA_VERBOSE_BUILD ON)
|
||||
|
||||
include_directories(${amunn_SOURCE_DIR})
|
||||
|
9
README
Normal file
9
README
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
make -j
|
||||
|
||||
on Ubuntu 16.04, you need g++4.9 and cuda-7.5 and a boost version compiled with g++4.9
|
||||
|
||||
CUDA_BIN_PATH=/usr/local/cuda-7.5 BOOST_ROOT=/home/marcin/myboost cmake .. -DCMAKE_CXX_COMPILER=g++-4.9 -DCUDA_HOST_COMPILER=/usr/bin/g++-4.9
|
@ -1,5 +1,3 @@
|
||||
#include <boost/utility/result_of.hpp>
|
||||
|
||||
#include <cstdlib>
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
|
@ -1,5 +1,3 @@
|
||||
#include <boost/utility/result_of.hpp>
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <memory>
|
||||
|
Loading…
Reference in New Issue
Block a user