: In member function ‘tbb::concurrent_vector<T, A>::iterator tbb::concurrent_vector<T, A>::grow_by(tbb::concurrent_vector<T, A>::size_type)’:
/usr/include/tbb/concurrent_vector.h:667:38: error: opera
我有这个for循环,它可以找到最小和最大长度,正如你可以看到的,我这里有两个值要减少,而在查看OpenMP时,我只能注意到它只为一个值提供了减少技术。omp parallel for reduction (min:m_lmin,max:m_lmax)另一个问题..我可以在OpenMP中使用像concurrent_vector这样的tbb容器吗?
矢量的类型(它可以是TBB库中的concurrent_vector或std矢量)仅在运行时才知道,这取决于用户指定的参数。 // convert the void* into std::vector<> // convert into a tbb::concurrent_vector }
这个转换可以由reinterpret_c