~ubuntu-branches/ubuntu/trusty/libclc/trusty-proposed

« back to all changes in this revision

Viewing changes to generic/lib/math/fmax.cl

  • Committer: Package Import Robot
  • Author(s): Michael Gilbert
  • Date: 2013-09-02 17:56:00 UTC
  • Revision ID: package-import@ubuntu.com-20130902175600-yzwtm29jme08wzs5
Tags: upstream-0~git20130819
ImportĀ upstreamĀ versionĀ 0~git20130819

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include <clc/clc.h>
 
2
 
 
3
#ifdef cl_khr_fp64
 
4
#pragma OPENCL EXTENSION cl_khr_fp64 : enable
 
5
#endif
 
6
 
 
7
#define FUNCTION __clc_fmax
 
8
#define FUNCTION_IMPL(x, y) ((x) < (y) ? (y) : (x))
 
9
 
 
10
#define __CLC_BODY <binary_impl.inc>
 
11
#include <clc/math/gentype.inc>