Home
last modified time | relevance | path

Searched refs:block (Results 1 – 25 of 32) sorted by relevance

12

/oneTBB/examples/graph/fgbzip2/
H A Dblocksort.cpp430 c1 = block[i1]; in mainGtU()
431 c2 = block[i2]; in mainGtU()
437 c1 = block[i1]; in mainGtU()
438 c2 = block[i2]; in mainGtU()
444 c1 = block[i1]; in mainGtU()
445 c2 = block[i2]; in mainGtU()
451 c1 = block[i1]; in mainGtU()
452 c2 = block[i2]; in mainGtU()
816 med = (Int32)mmed3(block[ptr[lo] + d], block[ptr[hi] + d], block[ptr[(lo + hi) >> 1] + d]); in mainQSort3()
974 block[nblock + i] = block[i]; in mainSort()
[all …]
H A DREADME.md2 fgbzip2 is a parallel implementation of bzip2 block-sorting file compressor that uses `oneapi::tbb:…
24 * `-b` - block size in 100 KB chunks, [1 .. 9].
H A Dbzlib.cpp232 s->block = (UChar*)s->arr2; in BZ_API()
257 s->block[s->nblock] = (UChar)ch; in add_pair_to_block()
261 s->block[s->nblock] = (UChar)ch; in add_pair_to_block()
263 s->block[s->nblock] = (UChar)ch; in add_pair_to_block()
267 s->block[s->nblock] = (UChar)ch; in add_pair_to_block()
269 s->block[s->nblock] = (UChar)ch; in add_pair_to_block()
271 s->block[s->nblock] = (UChar)ch; in add_pair_to_block()
276 s->block[s->nblock] = (UChar)ch; in add_pair_to_block()
278 s->block[s->nblock] = (UChar)ch; in add_pair_to_block()
280 s->block[s->nblock] = (UChar)ch; in add_pair_to_block()
[all …]
H A Dcompress.cpp175 UChar* block = s->block; in generateMTFValues() local
195 ll_i = s->unseqToSeq[block[j]]; in generateMTFValues()
/oneTBB/src/tbbmalloc/
H A Dfrontend.cpp640 if (block && block->empty()) { in cleanupBlockBins()
955 return block; in pop()
966 return block; in grab()
1227 block->previous->next = block; in pushTLSBin()
1249 activeBlk = block->previous? block->previous : block->next; in outofTLSBin()
1254 block->previous->next = block->next; in outofTLSBin()
1258 block->next->previous = block->previous; in outofTLSBin()
1268 Block* block; in getPrivatizedFreeListBlock() local
1286 if( block ) { in getPrivatizedFreeListBlock()
1291 return block; in getPrivatizedFreeListBlock()
[all …]
H A Dbackend.cpp659 FreeBlock *block; in askMemFromOS() local
681 if (!block) in askMemFromOS()
708 if (block) in askMemFromOS()
718 if (!block || block == (FreeBlock*)VALID_BLOCK_IN_BIN) in askMemFromOS()
726 return block; in askMemFromOS()
767 return block; in findBlock()
830 if (block) in genericGetBlock()
840 if (!block) in genericGetBlock()
848 block = nullptr; in genericGetBlock()
854 block = splitBlock(block, num, size, block->slabAligned, needAlignedBlock); in genericGetBlock()
[all …]
H A DSynchronize.h56 scoped_lock(MallocMutex& m, bool block, bool *locked) : m_mutex(m), m_taken(false) { in scoped_lock() argument
57 if (block) { in scoped_lock()
H A Dbackend.h334 static bool toAlignedBin(FreeBlock *block, size_t size) { in toAlignedBin() argument
335 return isAligned((char*)block + size, slabSize) && size >= slabSize; in toAlignedBin()
349 void putSlabBlock(BlockI *block);
H A Dtbbmalloc_internal.h262 inline void push(Block *block);
283 void put(intptr_t binTag, Block *block);
/oneTBB/doc/main/tbb_userguide/design_patterns/
H A DWavefront.rst131 process the contents of a block serially. The blocks have the same
136 The parallel code follows. Each block consists of ``N×N`` elements.
137 Each block has an associated atomic counter. Array ``Count``
140 starting with the block at the origin since it has no predecessors.
158 typedef pair<size_t,size_t> block;
159 block origin(0,0);
161 [=]( const block& b, oneapi::tbb::feeder<block>&feeder ) {
162 // Extract bounds on block
169 // Process the block
176 feeder.add( block(bi,bj+1) );
[all …]
H A DAgglomeration.rst53 block serially.
56 The block size should be chosen to be large enough to amortize
57 parallel overhead. Too large a block size may limit parallelism or
62 The choice of block topology is typically driven by two concerns:
78 optimal agglomeration might be a single block,
97 neighbors, then the computation per block grows quadratically (with
98 the block's area), but the cross-block communication grows with
99 linearly (with the block's perimeter). The following figure shows
103 when the block is square with respect to the underlying grid of cache
H A DReduction.rst109 that the block size for agglomeration is not explicitly specified;
207 specified for ``oneapi::tbb::blocked_range``. It defines the desired block
208 size for agglomeration; automatic block size selection is not used
/oneTBB/doc/GSG/
H A Dintegrate.rst29 .. code-block::
46 .. code-block::
54 .. code-block::
61 .. code-block::
H A Dnext_steps.rst67 .. code-block::
113 .. code-block::
120 .. code-block::
H A Dsamples.rst20 …* `A parallel implementation of bzip2 block-sorting file compressor <https://github.com/oneapi-src…
/oneTBB/doc/main/tbb_userguide/
H A DWhen_Task-Based_Programming_Is_Inappropriate.rst11 rarely block. However, if threads block frequently, there is a
H A Dconcurrent_hash_map.rst93 up that key in the table block until the ``accessor`` is done. A
105 to an element can block other threads, try to shorten the lifetime of
107 innermost block possible. To release access even sooner than the end of
108 the block, use method ``release``. The following example is a rework of
H A Dappendix_B.rst40 and each thread executes the block statement associated with the pragma.
H A Ddestroy_graphs_outside_main_thread.rst8 You may not always want to block the main application thread by calling
H A DConcurrent_Queue_Classes.rst98 causes ``push`` to block until there is room in the queue. Bounded
/oneTBB/doc/main/reference/
H A Dfollows_and_precedes_functions.rst69 .. code-block:: cpp
75 .. code-block:: cpp
/oneTBB/examples/graph/
H A DREADME.md9 | fgbzip2 | A parallel implementation of bzip2 block-sorting file compressor.
/oneTBB/test/tbbmalloc/
H A Dtest_malloc_whitebox.cpp213 Block *block = (Block *)alignDown(blocks1[i].ptr, slabSize); in operator ()() local
214 ((StartupBlock *)block)->free(blocks1[i].ptr); in operator ()()
219 Block *block = (Block *)alignDown(blocks2[i].ptr, slabSize); in operator ()() local
220 ((StartupBlock *)block)->free(blocks2[i].ptr); in operator ()()
684 BlockI *block = backend->getSlabBlock(1); in TestBackend() local
685 REQUIRE_MESSAGE(block, "Memory was not allocated"); in TestBackend()
686 backend->putSlabBlock(block); in TestBackend()
1235 Block *block = (Block *)alignDown(pointers[i], slabSize); in TestSlabAlignment() local
1236 REQUIRE_MESSAGE(findCacheLine(&block->isFull) != findCacheLine(pointers[i]), in TestSlabAlignment()
1238 REQUIRE_MESSAGE(findCacheLine(&block->next) != findCacheLine(&block->nextPrivatizable), in TestSlabAlignment()
/oneTBB/examples/
H A DREADME.md12 | graph/fgbzip2 | A parallel implementation of bzip2 block-sorting file compressor.
/oneTBB/examples/graph/cholesky/
H A DREADME.md31 * `blocksize` - the block size; size must be a multiple of the blocksize.

12