mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
Fix build error in SelfHosting.cpp
This commit is contained in:
parent
feab13417b
commit
4b6afe41d7
1 changed files with 1 additions and 1 deletions
|
|
@ -1495,7 +1495,7 @@ CopyValues(SharedMem<To*> dest, SharedMem<From*> src, uint32_t count)
|
|||
#if defined(_OPENMP)
|
||||
const int64_t openMpCount = int64_t(count);
|
||||
if (openMpCount >= (1 << 14)) {
|
||||
#pragma omp parallel for default(none) shared(dest, src, openMpCount) schedule(static)
|
||||
#pragma omp parallel for default(none) shared(dest, src) schedule(static)
|
||||
for (int64_t i = 0; i < openMpCount; i++) {
|
||||
uint32_t index = uint32_t(i);
|
||||
AtomicOperations::storeSafeWhenRacy(dest + index,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue