Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /trunk/src/include/Diderot/diderot.h
ViewVC logotype

Diff of /trunk/src/include/Diderot/diderot.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1231, Mon May 16 13:49:17 2011 UTC revision 1232, Mon May 16 23:37:52 2011 UTC
# Line 14  Line 14 
14  #ifndef _DIDEROT_H_  #ifndef _DIDEROT_H_
15  #define _DIDEROT_H_  #define _DIDEROT_H_
16    
17    #include "Diderot/config.h"
18    
19  /* gcc has a bug that breaks code that uses 8-byte vectors (e.g., vec2f_t), but clang  /* gcc has a bug that breaks code that uses 8-byte vectors (e.g., vec2f_t), but clang
20   * handles the code correctly.   * handles the code correctly.
21   */   */
# Line 43  Line 45 
45    
46  /* functions to get input-parameter values */  /* functions to get input-parameter values */
47  extern Status_t Diderot_InputString (const char *, const char **, bool);  extern Status_t Diderot_InputString (const char *, const char **, bool);
48  extern Status_t Diderot_Inputf (const char *, float *, bool);  extern Status_t Diderot_InputReal (const char *, Diderot_real_t *, bool);
49  extern Status_t Diderot_InputVec3f (const char *, vec3f_t *, bool);  extern Status_t Diderot_InputVec2 (const char *, Diderot_vec2_t *, bool);
50    extern Status_t Diderot_InputVec3 (const char *, Diderot_vec3_t *, bool);
51    
52    /* function to get information about the CPU configuration */
53    
54    typedef struct {
55        int         numHWNodes;             //!< \brief number of (possibly multicore) processors
56        int         numHWCores;             //!< \brief total number of (possibly
57                                            //!  mulithreaded) cores
58        int         numHWThreads;           //!< \brief total number of hardware threads
59        int         numCoresPerNode;        //!< \brief number of cores per thread
60        int         numThdsPerCore;         //!< \brief number of threads per core
61    } CPUInfo_t;
62    
63    bool GetNumCPUs (CPUInfo_t *info);
64    
65    
66  /********** scalar math functions **********/  /********** scalar math functions **********/
67    

Legend:
Removed from v.1231  
changed lines
  Added in v.1232

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0