AIDGE_ASSERT(length>=mNbElts,"trying to set raw pointer of insufficient capacity");
AIDGE_ASSERT(length>=mNbElts,"TensorImpl_cuda<{}>::setRawPtr(): trying to set raw pointer (length: {}) of insufficient capacity (required: {})",typeid(T).name(),length,mNbElts);