12#ifndef ARCANE_CORE_VARIABLEUTILS_H
13#define ARCANE_CORE_VARIABLEUTILS_H
18#include "arcane/core/materials/MaterialsCoreGlobal.h"
23namespace Arcane::VariableUtils
39extern "C++" ARCANE_CORE_EXPORT
void prefetchVariableAsync(IVariable* var,
const RunQueue* queue_or_null);
45extern "C++" ARCANE_CORE_EXPORT
void prefetchVariableAsync(VariableRef& var,
const RunQueue* queue_or_null);
70extern "C++" ARCANE_CORE_EXPORT
void experimentalChangeAllocator(::Arcane::Materials::IMeshMaterialVariable* var,
73extern "C++" ARCANE_CORE_EXPORT
void experimentalChangeAllocator(IVariable* var,
eMemoryRessource mem);
75extern "C++" ARCANE_CORE_EXPORT
void experimentalChangeAllocator(VariableRef& var,
eMemoryRessource mem);
Declarations of Arcane's general types.
void markVariableAsMostlyReadOnly(IVariable *var)
Indicates that the variable is mostly read-only.
void prefetchVariableAsync(IVariable *var, const RunQueue *queue_or_null)
Prefetches the memory associated with the variable var.
Arcane::eMemoryResource eMemoryRessource
Typedef for the historical Arcane version (with 2's').