// check that BLOCK_SIZE >= amoebaGpu->maxMapTorqueDifference
// check that BLOCK_SIZE >= amoebaGpu->maxMapTorqueDifference
if(amoebaGpu->maxMapTorqueDifference>BLOCK_SIZE){
if(amoebaGpu->maxMapTorqueDifference>BLOCK_SIZE){
(void)fprintf(amoebaGpu->log,"cudaComputeAmoebaMapTorques: block size (%d) in amoebaMapTorqueReduce_kernel is too small ( > %d)! -- aborting.\n",
(void)fprintf(amoebaGpu->log,"cudaComputeAmoebaMapTorques: block size (%d) in amoebaMapTorqueReduce_kernel is too small ( > %d)! -- aborting.\n"
BLOCK_SIZE,amoebaGpu->maxMapTorqueDifference);
"This is likely due to the presence of disulfide bond or other bond between atoms whose indices is greater than %d; this limitation will be removed w/ the next software update.\n",
// check that BLOCK_SIZE >= amoebaGpu->maxMapTorqueDifference
// check that BLOCK_SIZE >= amoebaGpu->maxMapTorqueDifference
if(amoebaGpu->maxMapTorqueDifference>BLOCK_SIZE){
if(amoebaGpu->maxMapTorqueDifference>BLOCK_SIZE){
(void)fprintf(amoebaGpu->log,"cudaComputeAmoebaMapTorquesAndAddTotalForce: block size (%d) in amoebaMapTorqueReduce_kernel is too small ( > %d)! -- aborting.\n",
(void)fprintf(amoebaGpu->log,"cudaComputeAmoebaMapTorquesAndAddTotalForce: block size (%d) in amoebaMapTorqueReduce_kernel is too small ( > %d)! -- aborting.\n"
BLOCK_SIZE,amoebaGpu->maxMapTorqueDifference);
"This is likely due to the presence of disulfide bond or other bond between atoms whose indices is greater than %d; this limitation will be removed w/ the next software update.\n",
// check that BLOCK_SIZE >= amoebaGpu->maxMapTorqueDifference
// check that BLOCK_SIZE >= amoebaGpu->maxMapTorqueDifference
if(amoebaGpu->maxMapTorqueDifference>BLOCK_SIZE){
if(amoebaGpu->maxMapTorqueDifference>BLOCK_SIZE){
(void)fprintf(amoebaGpu->log,"cudaComputeAmoebaMapTorquesAndAddTotalForce2: block size (%d) in amoebaMapTorqueReduce_kernel is too small ( > %d)! -- aborting.\n",
(void)fprintf(amoebaGpu->log,"cudaComputeAmoebaMapTorquesAndAddTotalForce2: block size (%d) in amoebaMapTorqueReduce_kernel is too small ( > %d)! -- aborting.\n"
BLOCK_SIZE,amoebaGpu->maxMapTorqueDifference);
"This is likely due to the presence of disulfide bond or other bond between atoms whose indices is greater than %d; this limitation will be removed w/ the next software update.\n",