Changes between Version 1 and Version 2 of OpenCL_Template


Ignore:
Timestamp:
Jan 20, 2011 7:14:43 PM (14 years ago)
Author:
nakasato
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OpenCL_Template

    v1 v2  
    1 = template program = 
     1= Template Makefile =  
     2{{{ 
     3CFLAGS=-Wall -O 
     4 
     5PATH_TO_AMD:=/opt/opencl 
     6PATH_TO_AMD_LIB=$(PATH_TO_AMD)/lib/x86_64 
     7PATH_TO_AMD_INC=$(PATH_TO_AMD)/include 
     8 
     9EXE_NAME=test.exe 
     10 
     11$(EXE_NAME): temp.cpp 
     12        g++ $(CFLAGS) -I$(PATH_TO_AMD_INC) -L$(PATH_TO_AMD_LIB) -o $@ $< -lOpenCL 
     13 
     14 
     15clean: 
     16        rm -f $(EXE_NAME) 
     17}}} 
     18  
     19= Template source program = 
    220{{{ 
    321#include <stdio.h>