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
Constructing the WorkGraphPolicies Crs data structure requires a count-allocate-fill pattern.
An ease-of-use interface could accept a user's fill-lambda, apply a dry run of that lambda to count, then allocate, then apply the lambda again to fill.
The text was updated successfully, but these errors were encountered:
[=]( int work_item , int * fill ) {
int count = 0 ;
for ( faces ) {
if ( is_dependent(face) ) {
if ( fill ) fill[count] = other_work_item(face);
++count ;
}
}
return count ;
}
Constructing the WorkGraphPolicies Crs data structure requires a count-allocate-fill pattern.
An ease-of-use interface could accept a user's fill-lambda, apply a dry run of that lambda to count, then allocate, then apply the lambda again to fill.
The text was updated successfully, but these errors were encountered: