Commit 700adac0 authored by Alessandro Mirone's avatar Alessandro Mirone

correzione

parent bac862ba
......@@ -4837,7 +4837,7 @@ void CCspace_tranpose_chunk (CCspace * self , int sn, int ntoktreated, int
{
int myid = omp_get_thread_num();
long int mytot = tot;
for( iproj=0 ;iproj<num_my_proj; iproj++) {
for(int iproj=0 ;iproj<num_my_proj; iproj++) {
int k;
if(iproj%npbunches == myid ) {
memcpy( transmit_buffer+mytot*size1, Tptr + iproj*size0*size1 + (start_slice)*size1 ,(top_slice-start_slice)* size1*sizeof(float) );
......@@ -4960,7 +4960,7 @@ void CCspace_tranpose_chunk (CCspace * self , int sn, int ntoktreated, int
int myid = omp_get_thread_num();
int mytot = tot;
for( iproj=0 ;iproj<num_my_proj; iproj++) {
for(int iproj=0 ;iproj<num_my_proj; iproj++) {
if(iproj%npbunches == myid ) {
memset( Tptr + iproj*size0*size1 + (start_slice)*size1 ,0, (top_slice-start_slice)* size1*sizeof(float) );
}
......@@ -5037,7 +5037,7 @@ void CCspace_tranpose_chunk (CCspace * self , int sn, int ntoktreated, int
{
int myid = omp_get_thread_num();
int mytot = tot;
for( iproj=0 ;iproj<num_my_proj; iproj++) {
for(int iproj=0 ;iproj<num_my_proj; iproj++) {
if(iproj%npbunches == myid ) {
int k;
for(k=0; k < (top_slice-start_slice)* size1; k++) {
......
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