Commit b96e155d authored by Mark Friedrichs's avatar Mark Friedrichs
Browse files

Problem w/ BrookPlatform::getDuplicationFactor() -- removing for now (hardwiring to 4 as before)

parent b05c6aaa
...@@ -2210,7 +2210,6 @@ void BrookBonded::computeForces( BrookStreamImpl& positionStream, BrookStreamImp ...@@ -2210,7 +2210,6 @@ void BrookBonded::computeForces( BrookStreamImpl& positionStream, BrookStreamImp
inverseStreamMaps[L_Stream][2]->getBrookStream(), inverseStreamMaps[L_Stream][2]->getBrookStream(),
bondedForceStreams[L_Stream]->getBrookStream(), bondedForceStreams[L_Stream]->getBrookStream(),
forceStream.getBrookStream(), forceStream.getBrookStream() ); forceStream.getBrookStream(), forceStream.getBrookStream() );
} else { } else {
// case not handled -- throw an exception // case not handled -- throw an exception
......
...@@ -395,7 +395,7 @@ int BrookPlatform::getDuplicationFactor( int numberOfParticles ) const { ...@@ -395,7 +395,7 @@ int BrookPlatform::getDuplicationFactor( int numberOfParticles ) const {
int duplicationFactor = 4; int duplicationFactor = 4;
// set only if _minSuggestedThreads is available from board // set only if _minSuggestedThreads is available from board
/*
if( _minSuggestedThreads > 0 ){ if( _minSuggestedThreads > 0 ){
float threads = static_cast<float>( _minSuggestedThreads ); float threads = static_cast<float>( _minSuggestedThreads );
float numP = static_cast<float>( numberOfParticles ); float numP = static_cast<float>( numberOfParticles );
...@@ -411,6 +411,7 @@ int BrookPlatform::getDuplicationFactor( int numberOfParticles ) const { ...@@ -411,6 +411,7 @@ int BrookPlatform::getDuplicationFactor( int numberOfParticles ) const {
duplicationFactor *= 4; duplicationFactor *= 4;
} }
} }
*/
return duplicationFactor; return duplicationFactor;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment