isce3 0.25.0
Loading...
Searching...
No Matches
blockProcessing.h
1#pragma once
2
3#include "forward.h"
4
5#include <pyre/journal.h>
6
7namespace isce3 { namespace core {
8
9// Default min and max block sizes in bytes per thread
10constexpr static long long DEFAULT_MIN_BLOCK_SIZE = 1 << 25; // 32MB
11constexpr static long long DEFAULT_MAX_BLOCK_SIZE = 1 << 28; // 256MB
12
16enum class MemoryModeBlocksY {
17 AutoBlocksY,
19 SingleBlockY,
20 MultipleBlocksY,
21};
22
24enum GeocodeMemoryMode {
25 Auto = 0,
28 SingleBlock = 1,
30 BlocksGeogrid = 2,
33 BlocksGeogridAndRadarGrid = 3
36};
37
38// Get "human-readable" string of number of bytes
39std::string getNbytesStr(long long nbytes);
40
55void getBlockProcessingParametersY(const int array_length, const int array_width,
56 const int nbands = 1,
57 const int type_size = 4, // Float32
58 pyre::journal::info_t* channel = nullptr, int* block_length = nullptr,
59 int* nblock_y = nullptr,
60 const long long min_block_size = DEFAULT_MIN_BLOCK_SIZE,
61 const long long max_block_size = DEFAULT_MAX_BLOCK_SIZE,
62 int n_threads = 0);
63
88void getBlockProcessingParametersXY(const int array_length, const int array_width,
89 const int nbands = 1,
90 const int type_size = 4, // Float32
91 pyre::journal::info_t* channel = nullptr,
92 int* block_length = nullptr, int* nblock_y = nullptr,
93 int* block_width = nullptr, int* nblock_x = nullptr,
94 const long long min_block_size = DEFAULT_MIN_BLOCK_SIZE,
95 const long long max_block_size = DEFAULT_MAX_BLOCK_SIZE,
96 const int snap = 1, int n_threads = 0);
97
98}}
base interpolator is an abstract base class
Definition BinarySearchFunc.cpp:5

Generated for ISCE3.0 by doxygen 1.13.2.