14#include "arcane/core/internal/VariableUtilsInternal.h"
16#include "arcane/utils/ArrayView.h"
17#include "arcane/utils/MemoryView.h"
19#include "arcane/core/IVariable.h"
20#include "arcane/core/IData.h"
21#include "arcane/core/internal/IDataInternal.h"
23#include "arcane/accelerator/core/RunQueue.h"
43 values.
copy(var_values);
66 impl::copyContiguousData(num_data, mem_view, queue);
Execution queue for an accelerator.
Modifiable view of an array of type T.
void copy(const U ©_array)
Copies the array copy_array into the instance.
Constant view of an array of type T.
Constant view on a contiguous memory region containing fixed-size elements.
Interface of a 1D array data item of type T.
virtual INumericDataInternal * numericData()
Generic interface for numeric data (nullptr if the data is not numeric).
Interface of a data item.
virtual IDataInternal * _commonInternal()=0
Interface for an 'IData' of a numeric type.
virtual IData * data()=0
Data associated with the variable.
static bool setFromFloat64Array(IVariable *v, ConstArrayView< double > values)
Copies the values values into the variable v.
static bool fillFloat64Array(IVariable *v, ArrayView< double > values)
Fills values with the variable's values.
static bool setFromMemoryBuffer(IVariable *v, ConstMemoryView values)
Copies the values values into the variable v.
static IDataInternal * getDataInternal(IVariable *v)
Returns the internal IData API associated with the variable v.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --