CMakeLists.txt 533 Bytes
Newer Older
1
2
3
4
list(APPEND gpu_list gfx908 gfx90a gfx940 gfx941 gfx942)
set(target 0)
foreach(gpu IN LISTS GPU_TARGETS)
 if(gpu IN_LIST gpu_list AND target EQUAL 0)
5
   add_custom_target(example_im2col_col2im)
6
   add_example_executable(example_image_to_column_f32 image_to_column_f32.cpp)
7
8
9
   add_dependencies(example_im2col_col2im example_image_to_column_f32)
   add_example_executable(example_column_to_image_f32 column_to_image_f32.cpp)
   add_dependencies(example_im2col_col2im example_column_to_image_f32)
10
11
12
   set(target 1)
 endif()
endforeach()