mirror of
https://github.com/marian-nmt/marian.git
synced 2024-09-17 09:47:34 +03:00
Merge branch 'master' of https://github.com/emjotde/marian
This commit is contained in:
commit
7ef5061d8c
@ -56,11 +56,11 @@
|
|||||||
</tool>
|
</tool>
|
||||||
</toolChain>
|
</toolChain>
|
||||||
</folderInfo>
|
</folderInfo>
|
||||||
<fileInfo id="com.nvidia.cuda.ide.seven_five.configuration.debug.1479727693.1770712140" name="tensor.cu" rcbsApplicability="disable" resourcePath="tensor.cu" toolsToInvoke="nvcc.compiler.base.1979453423.1452902875">
|
<fileInfo id="com.nvidia.cuda.ide.seven_five.configuration.debug.1479727693.924444438" name="train_mnist.cu" rcbsApplicability="disable" resourcePath="src/train_mnist.cu" toolsToInvoke="nvcc.compiler.base.1979453423.2078504098">
|
||||||
<tool id="nvcc.compiler.base.1979453423.1452902875" name="NVCC Compiler" superClass="nvcc.compiler.base.1979453423"/>
|
<tool id="nvcc.compiler.base.1979453423.2078504098" name="NVCC Compiler" superClass="nvcc.compiler.base.1979453423"/>
|
||||||
</fileInfo>
|
</fileInfo>
|
||||||
<sourceEntries>
|
<sourceEntries>
|
||||||
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
|
<entry excluding="src/train_mnist.cu|src/validate_mnist.cu|src/npz_converter.cpp" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
|
||||||
</sourceEntries>
|
</sourceEntries>
|
||||||
</configuration>
|
</configuration>
|
||||||
</storageModule>
|
</storageModule>
|
||||||
|
@ -1,38 +1,37 @@
|
|||||||
|
|
||||||
include_directories(.)
|
include_directories(.)
|
||||||
|
|
||||||
add_library(libcommon OBJECT
|
cuda_add_library(marian_lib
|
||||||
exception.cpp
|
|
||||||
cnpy/cnpy.cpp
|
cnpy/cnpy.cpp
|
||||||
|
exception.cpp
|
||||||
|
expressions.cu
|
||||||
|
tensor.cu
|
||||||
|
tensor_operators.cu
|
||||||
)
|
)
|
||||||
|
|
||||||
|
target_link_libraries(marian_lib)
|
||||||
|
|
||||||
cuda_add_executable(
|
cuda_add_executable(
|
||||||
marian
|
marian
|
||||||
test.cu
|
test.cu
|
||||||
expressions.cu
|
|
||||||
tensor_operators.cu
|
|
||||||
tensor.cu
|
|
||||||
$<TARGET_OBJECTS:libcommon>
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
target_link_libraries(marian marian_lib)
|
||||||
|
|
||||||
cuda_add_executable(
|
cuda_add_executable(
|
||||||
train_mnist
|
train_mnist
|
||||||
train_mnist.cu
|
train_mnist.cu
|
||||||
expressions.cu
|
|
||||||
tensor_operators.cu
|
|
||||||
tensor.cu
|
|
||||||
$<TARGET_OBJECTS:libcommon>
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
target_link_libraries(train_mnist marian_lib)
|
||||||
|
|
||||||
cuda_add_executable(
|
cuda_add_executable(
|
||||||
validate_mnist
|
validate_mnist
|
||||||
validate_mnist.cu
|
validate_mnist.cu
|
||||||
expressions.cu
|
|
||||||
tensor_operators.cu
|
|
||||||
tensor.cu
|
|
||||||
$<TARGET_OBJECTS:libcommon>
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
target_link_libraries(validate_mnist marian_lib)
|
||||||
|
|
||||||
foreach(exec marian train_mnist validate_mnist)
|
foreach(exec marian train_mnist validate_mnist)
|
||||||
target_link_libraries(${exec} ${EXT_LIBS} cuda cudnn)
|
target_link_libraries(${exec} ${EXT_LIBS} cuda cudnn)
|
||||||
cuda_add_cublas_to_target(${exec})
|
cuda_add_cublas_to_target(${exec})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "common/npz_converter.h"
|
#include "npz_converter.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user