/perf/kseta

To get this branch, use:
bzr branch http://darksoft.org/webbzr/perf/kseta

« back to all changes in this revision

Viewing changes to sources/tools/CMakeLists.txt

  • Committer: Suren A. Chilingaryan
  • Date: 2013-09-30 06:47:09 UTC
  • Revision ID: csa@dside.dyndns.org-20130930064709-55cde0k5ci76t8z5
Simple matrix multiplication

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
add_executable(fp_cmp fp_cmp.c)
 
2
target_link_libraries(fp_cmp m)
 
3
 
 
4
set(INCS "")
 
5
 
 
6
if (OPENCL_FOUND)
 
7
    set(INCS ${INCS} ${OPENCL_INCLUDE_DIRS})
 
8
 
 
9
    add_executable(cl_info cl_info.c)
 
10
    target_link_libraries(cl_info ${OPENCL_LIBRARIES})
 
11
 
 
12
    add_executable(cl_compiler cl_compiler.c)
 
13
    target_link_libraries(cl_compiler ${OPENCL_LIBRARIES})
 
14
endif()
 
15
 
 
16
include_directories(${INCS})