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

SCM Repository

[diderot] Diff of /branches/pure-cfg/src/lib/cl-target/main.c
ViewVC logotype

Diff of /branches/pure-cfg/src/lib/cl-target/main.c

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

revision 1281, Mon Jun 6 18:21:50 2011 UTC revision 1282, Mon Jun 6 19:22:54 2011 UTC
# Line 67  Line 67 
67    printf("name:%s\n",clInfo->platforms[0].devices[0].name);    printf("name:%s\n",clInfo->platforms[0].devices[0].name);
68    Diderot_GPU_Init(clInfo->platforms[0].devices[0].id);    Diderot_GPU_Init(clInfo->platforms[0].devices[0].id);
69    
   
   
70  /*    Diderot_World_t *wrld = Diderot_Initially ();  // this may not be right for OpenCL  /*    Diderot_World_t *wrld = Diderot_Initially ();  // this may not be right for OpenCL
71    
72    // here we have the final state of all of the strands in the "in" buffer    // here we have the final state of all of the strands in the "in" buffer
# Line 78  Line 76 
76          exit (8);          exit (8);
77      }*/      }*/
78  }  }
79    
80  /* Loads the Kernel from a file */  /* Loads the Kernel from a file */
81  char * loadKernel (const char * filename)  char *Diderot_LoadKernel (const char * filename)
82  {  {
83      struct stat statbuf;      struct stat statbuf;
84      FILE *fh;      FILE *fh;

Legend:
Removed from v.1281  
changed lines
  Added in v.1282

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