Changeset ba32cdd in sasmodels for sasmodels/kernel_iq.c


Ignore:
Timestamp:
Mar 24, 2016 6:36:40 PM (8 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
5ff1b03
Parents:
151f3bc
Message:

fix opencl compile; still doesn't run

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/kernel_iq.c

    r380e8c9 rba32cdd  
    7474 
    7575#if MAX_PD > 0 
    76  
    77 printf("Entering polydispersity\n"); 
     76  //printf("Entering polydispersity\n"); 
     77 
    7878  // Since we are no longer looping over the entire polydispersity hypercube 
    7979  // for each q, we need to track the normalization values for each q in a 
     
    136136        if (problem->pd_isvol[k]) partial_volweight *= wi; 
    137137      } 
    138       printf("slow %d: ", loop_index); 
     138      //printf("slow %d: ", loop_index); 
    139139      for (int k=0; k < NPARS; k++) { 
    140140        int coord = problem->par_coord[k]; 
     
    150150        offset[k] = this_offset; 
    151151        pvec[k] = values[this_offset]; 
    152         printf("p[%d]=v[%d]=%g ", k, offset[k], pvec[k]); 
    153       } 
    154       printf("\n"); 
     152        //printf("p[%d]=v[%d]=%g ", k, offset[k], pvec[k]); 
     153      } 
     154      //printf("\n"); 
    155155      weight = partial_weight * weights[problem->pd_offset[0]+pd_index[0]]; 
    156156      if (problem->theta_par >= 0) { 
     
    168168      weight = partial_weight*wi; 
    169169      if (problem->pd_isvol[0]) vol_weight *= wi; 
    170       printf("fast %d: ", loop_index); 
     170      //printf("fast %d: ", loop_index); 
    171171      for (int k=0; k < problem->fast_coord_count; k++) { 
    172172        const int pindex = problem->fast_coord_pars[k]; 
    173173        pvec[pindex] = values[++offset[pindex]]; 
    174         printf("p[%d]=v[%d]=%g ", pindex, offset[pindex], pvec[pindex]); 
    175       } 
    176       printf("\n"); 
     174        //printf("p[%d]=v[%d]=%g ", pindex, offset[pindex], pvec[pindex]); 
     175      } 
     176      //printf("\n"); 
    177177      if (problem->theta_par == problem->pd_par[0]) { 
    178178        weight *= fabs(cos(M_PI_180*pvec[problem->theta_par])); 
Note: See TracChangeset for help on using the changeset viewer.