Back to home page

EIC code displayed by LXR

 
 

    


Warning, /jana2/src/examples/SubeventCUDAExample/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 
0002 
0003 if (USE_CUDA)
0004         find_package(CUDA REQUIRED)
0005         enable_language(CUDA)
0006 
0007     set(SubeventCUDAExample_SOURCES 
0008         SubeventCUDAExample.cu)
0009 
0010         add_executable(SubeventCUDAExample ${SubeventCUDAExample_SOURCES})
0011 
0012         target_link_libraries(SubeventCUDAExample jana2)
0013 
0014         set_target_properties(SubeventCUDAExample PROPERTIES 
0015         PREFIX "" 
0016         OUTPUT_NAME "SubeventCUDAExample"
0017                 CUDA_ARCHITECTURES "75;80")
0018 
0019         install(TARGETS SubeventCUDAExample DESTINATION bin)
0020     add_test(NAME jana-example-subevent-cuda-tests
0021         COMMAND SubeventCUDAExample)
0022 
0023 else()
0024         message(STATUS "Skipping examples/SubeventCUDAExample because USE_CUDA=Off")
0025 
0026 endif()
0027 
0028 
0029 
0030 
0031