You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 31, 2020. It is now read-only.
but bigger issue is
virtual void dispatch(Task * task, void * context, int count) {
parallel_for(blocked_range(0, count, 1), TaskFunctor(task, context));
}
doesn't compile
putting tbb:: in front of
parallel_for and blocked_range helps a bit but still fails with
tbb/parallel_for.h(102) : error C2664: 'void nvtt::TaskFunctor::operator ()(int &) const' : cannot convert argument 1 from 'tbb::blocked_range' to 'int &'
tbb/parallel_for.h(102) : while compiling class template member function 'void tbb::interface9::internal::start_for<Range,Body,const tbb::auto_partitioner>::run_body(Range &)'
Seems like this has probably been broken for a while
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
tested against tbb 4.5
struct TaskFunctor {
TaskFunctor(Task * task, void * context) : task(task), context(context) {}
void operator()(int & n) const {
task(context, n);
}
Task * task;
void * context;
};
the member variable initialization is bogus,
but bigger issue is
virtual void dispatch(Task * task, void * context, int count) {
parallel_for(blocked_range(0, count, 1), TaskFunctor(task, context));
}
doesn't compile
putting tbb:: in front of
parallel_for and blocked_range helps a bit but still fails with
tbb/parallel_for.h(102) : error C2664: 'void nvtt::TaskFunctor::operator ()(int &) const' : cannot convert argument 1 from 'tbb::blocked_range' to 'int &'
tbb/parallel_for.h(102) : while compiling class template member function 'void tbb::interface9::internal::start_for<Range,Body,const tbb::auto_partitioner>::run_body(Range &)'
Seems like this has probably been broken for a while
The text was updated successfully, but these errors were encountered: