Skip to content
Snippets Groups Projects
Verified Commit 9e6be304 authored by baptiste.coudray's avatar baptiste.coudray
Browse files

Fixed compilation

parent 9cbcc50f
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${GCC_COMPILE_FLAGS}")
add_custom_command(
OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/gol_cda.h ${CMAKE_CURRENT_SOURCE_DIR}/gol_cda.c
COMMAND futhark opencl ${CMAKE_CURRENT_SOURCE_DIR}/gol.fut --library
COMMAND futhark cuda ${CMAKE_CURRENT_SOURCE_DIR}/gol.fut --library
DEPENDS gol.fut
)
add_custom_target(futhark_gol_cuda DEPENDS gol_cda.h gol_cda.c)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment