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

SCM Repository

[diderot] Diff of /branches/pure-cfg/src/include/Diderot/diderot.h
ViewVC logotype

Diff of /branches/pure-cfg/src/include/Diderot/diderot.h

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

revision 1195, Thu May 12 03:07:35 2011 UTC revision 1196, Thu May 12 04:04:45 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 46  Line 48 
48  extern Status_t Diderot_Inputf (const char *, float *, bool);  extern Status_t Diderot_Inputf (const char *, float *, bool);
49  extern Status_t Diderot_InputVec3f (const char *, vec3f_t *, bool);  extern Status_t Diderot_InputVec3f (const char *, vec3f_t *, bool);
50    
51    /* function to get information about the CPU configuration */
52    
53    typedef struct {
54        int         numHWNodes;             //!< \brief number of (possibly multicore) processors
55        int         numHWCores;             //!< \brief total number of (possibly
56                                            //!  mulithreaded) cores
57        int         numHWThreads;           //!< \brief total number of hardware threads
58        int         numCoresPerNode;        //!< \brief number of cores per thread
59        int         numThdsPerCore;         //!< \brief number of threads per core
60    } CPUInfo_t;
61    
62    bool GetNumCPUs (CPUInfo_t *info);
63    
64    
65  /********** scalar math functions **********/  /********** scalar math functions **********/
66    
67  STATIC_INLINE float minf (float a, float b)  STATIC_INLINE float minf (float a, float b)

Legend:
Removed from v.1195  
changed lines
  Added in v.1196

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