/tomo/pyhst

To get this branch, use:
bzr branch http://darksoft.org/webbzr/tomo/pyhst

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Suren A. Chilingaryan
  • Date: 2017-09-28 10:34:47 UTC
  • Revision ID: csa@suren.me-20170928103447-dggjgnuxmymgew2a
Quality fixes (tex-based)

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
set(IGNORE_OLD_HARDWARE TRUE CACHE BOOL "Optimize for latest GPU family and disable older GPUs")
26
26
set(ENABLE_KEPLER_INSTRUCTIONS 0 CACHE STRING "Allow Kepler specific optimizations, over GPUs will fail")
27
27
set(MULTISLICE_MODE TRUE CACHE BOOL "Transfer a whole slice to GPU while processing another one")
28
 
set(SLICE_BLOCK 1 CACHE FALSE "Number of slices per back projection")
 
28
set(SLICE_BLOCK 1 CACHE STRING "Number of slices per back projection")
 
29
set(ASTRA_SCALING TRUE CACHE BOOL "Enbale ASTRA-style sinogram scaling")
 
30
 
29
31
 
30
32
set(USE_FASTWRITER 0 CACHE INT "Use fastwriter with the buffer of specified size (MB)")
31
33
 
449
451
        set(PYHST_DEFINITIONS ${PYHST_DEFINITIONS} -DPYHST_RECON_BENCHMARK)
450
452
        message(" * Reconstruction Benchmark Mode")
451
453
    endif()
 
454
else (RECON_BENCHMARK)
 
455
    if (ASTRA_SCALING)
 
456
        set(PYHST_DEFINITIONS ${PYHST_DEFINITIONS} -DPYHST_ASTRA_SCALING)
 
457
        message(" * Scaling: Astra-style")
 
458
    else (ASTRA_SCALING)
 
459
        message(" * Scaling: PyHST-style")
 
460
    endif (ASTRA_SCALING)
452
461
endif (RECON_BENCHMARK)
453
462
 
454
463
if (HAVE_SCHED_HEADERS)