Exemple #1
0
SGVector<T>::SGVector(EigenVectorXt& vec)
: SGReferencedData(false), vector(vec.data()), vlen(vec.size())
{
	
}
Exemple #2
0
SGVector<T>::SGVector(EigenVectorXt& vec)
: SGReferencedData(false), vector(vec.data()), vlen(vec.size()), gpu_ptr(NULL)
{
	m_on_gpu.store(false, std::memory_order_release);
}