Changeset 0db7dbd in sasmodels for sasmodels/models/lib/polevl.c


Ignore:
Timestamp:
Feb 16, 2018 7:10:04 PM (6 years ago)
Author:
pkienzle
Branches:
master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
47fb816
Parents:
aa90015
Message:

cuda support: allow cylinder model to run under CUDA as well as OpenCL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/lib/polevl.c

    r447e9aa r0db7dbd  
    5151*/ 
    5252 
    53 double polevl( double x, constant double *coef, int N ); 
    54 double polevl( double x, constant double *coef, int N ) 
     53__device__ static 
     54double polevl( double x, constant_par double *coef, int N ) 
    5555{ 
    5656 
     
    7272 */ 
    7373 
    74 double p1evl( double x, constant double *coef, int N ); 
    75 double p1evl( double x, constant double *coef, int N ) 
     74__device__ static 
     75double p1evl( double x, constant_par double *coef, int N ) 
    7676{ 
    7777    int i=0; 
Note: See TracChangeset for help on using the changeset viewer.