Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Commit

Permalink
Drop always_inline attribute
Browse files Browse the repository at this point in the history
Change-Id: I624de6a34980e1dd905a4865e3eb3db80f62770f
  • Loading branch information
b-sumner committed Jul 28, 2017
1 parent 8e108c4 commit d4b5f4d
Show file tree
Hide file tree
Showing 265 changed files with 296 additions and 296 deletions.
2 changes: 1 addition & 1 deletion ocml/src/acoshD.cl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

extern CONSTATTR double MATH_PRIVATE(lnep)(double2 x);

CONSTATTR INLINEATTR double
CONSTATTR double
MATH_MANGLE(acosh)(double x)
{
bool b = x >= 0x1.0p+512;
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/acoshF.cl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

extern CONSTATTR float MATH_PRIVATE(lnep)(float2 x);

CONSTATTR INLINEATTR float
CONSTATTR float
MATH_MANGLE(acosh)(float x)
{
bool b = x >= 0x1.0p+64f;
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/acoshH.cl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

PUREATTR UGEN(acosh)

PUREATTR INLINEATTR half
PUREATTR half
MATH_MANGLE(acosh)(half hx)
{
half ret;
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/addD.cl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#if defined HSAIL_BUILD

#define GEN(NAME,ROUND)\
CONSTATTR INLINEATTR double \
CONSTATTR double \
MATH_MANGLE(NAME)(double x, double y) \
{ \
return BUILTIN_FULL_BINARY(fadd, false, ROUND, x, y); \
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/addF.cl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#if defined HSAIL_BUILD

#define GEN(NAME,ROUND)\
CONSTATTR INLINEATTR float \
CONSTATTR float \
MATH_MANGLE(NAME)(float x, float y) \
{ \
float ret; \
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/addH.cl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#if defined HSAIL_BUILD

#define GEN(NAME,ROUND)\
CONSTATTR INLINEATTR half \
CONSTATTR half \
MATH_MANGLE(NAME)(half x, half y) \
{ \
return BUILTIN_FULL_BINARY(faddh, false, ROUND, x, y); \
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/asinhD.cl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
extern CONSTATTR double MATH_PRIVATE(lnep)(double2 x);


CONSTATTR INLINEATTR double
CONSTATTR double
MATH_MANGLE(asinh)(double x)
{
double y = BUILTIN_ABS_F64(x);
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/asinhF.cl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

extern CONSTATTR float MATH_PRIVATE(lnep)(float2 x);

CONSTATTR INLINEATTR float
CONSTATTR float
MATH_MANGLE(asinh)(float x)
{
float y = BUILTIN_ABS_F32(x);
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/asinhH.cl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

PUREATTR UGEN(asinh)

PUREATTR INLINEATTR half
PUREATTR half
MATH_MANGLE(asinh)(half hx)
{
half ret;
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/atanF.cl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

extern CONSTATTR float MATH_PRIVATE(atanred)(float);

CONSTATTR INLINEATTR float
CONSTATTR float
MATH_MANGLE(atan)(float x)
{
float v = BUILTIN_ABS_F32(x);
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/atanH.cl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ extern CONSTATTR half MATH_PRIVATE(atanred)(half);

CONSTATTR UGEN(atan)

CONSTATTR INLINEATTR half
CONSTATTR half
MATH_MANGLE(atan)(half x)
{
half v = BUILTIN_ABS_F16(x);
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/atanhD.cl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

extern CONSTATTR double MATH_PRIVATE(lnep)(double2 x);

CONSTATTR INLINEATTR double
CONSTATTR double
MATH_MANGLE(atanh)(double x)
{
double y = BUILTIN_ABS_F64(x);
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/atanhF.cl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

extern CONSTATTR float MATH_PRIVATE(lnep)(float2 x);

CONSTATTR INLINEATTR float
CONSTATTR float
MATH_MANGLE(atanh)(float x)
{
float y = BUILTIN_ABS_F32(x);
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/atanhH.cl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

PUREATTR UGEN(atanh)

PUREATTR INLINEATTR half
PUREATTR half
MATH_MANGLE(atanh)(half hx)
{
half ret;
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/atanpiF.cl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

extern CONSTATTR float MATH_PRIVATE(atanpired)(float);

CONSTATTR INLINEATTR float
CONSTATTR float
MATH_MANGLE(atanpi)(float x)
{
float v = BUILTIN_ABS_F32(x);
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/atanpiH.cl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ extern CONSTATTR half MATH_PRIVATE(atanpired)(half);

CONSTATTR UGEN(atanpi)

CONSTATTR INLINEATTR half
CONSTATTR half
MATH_MANGLE(atanpi)(half x)
{
half v = BUILTIN_ABS_F16(x);
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/atanpiredF.cl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include "mathF.h"

CONSTATTR INLINEATTR float
CONSTATTR float
MATH_PRIVATE(atanpired)(float v)
{
float t = v * v;
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/atanpiredH.cl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include "mathH.h"

CONSTATTR INLINEATTR half
CONSTATTR half
MATH_PRIVATE(atanpired)(half v)
{
half t = v * v;
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/atanredF.cl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include "mathF.h"

CONSTATTR INLINEATTR float
CONSTATTR float
MATH_PRIVATE(atanred)(float v)
{
float t = v * v;
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/atanredH.cl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include "mathH.h"

CONSTATTR INLINEATTR half
CONSTATTR half
MATH_PRIVATE(atanred)(half v)
{
half t = v * v;
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/ba0D.cl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include "mathD.h"

CONSTATTR INLINEATTR double
CONSTATTR double
MATH_PRIVATE(ba0)(double t)
{
return
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/ba0F.cl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include "mathF.h"

CONSTATTR INLINEATTR float
CONSTATTR float
MATH_PRIVATE(ba0)(float t)
{
return
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/ba1D.cl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include "mathD.h"

CONSTATTR INLINEATTR double
CONSTATTR double
MATH_PRIVATE(ba1)(double t)
{
return
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/ba1F.cl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include "mathF.h"

CONSTATTR INLINEATTR float
CONSTATTR float
MATH_PRIVATE(ba1)(float t)
{
return
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/bp0D.cl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include "mathD.h"

CONSTATTR INLINEATTR double
CONSTATTR double
MATH_PRIVATE(bp0)(double t)
{
return
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/bp0F.cl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include "mathF.h"

CONSTATTR INLINEATTR float
CONSTATTR float
MATH_PRIVATE(bp0)(float t)
{
return
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/bp1D.cl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include "mathD.h"

CONSTATTR INLINEATTR double
CONSTATTR double
MATH_PRIVATE(bp1)(double t)
{
return
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/bp1F.cl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include "mathF.h"

CONSTATTR INLINEATTR float
CONSTATTR float
MATH_PRIVATE(bp1)(float t)
{
return
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/cbrtD.cl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

#include "mathD.h"

CONSTATTR INLINEATTR double
CONSTATTR double
MATH_MANGLE(cbrt)(double x)
{
double a = BUILTIN_ABS_F64(x);
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/cbrtF.cl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include "mathF.h"

CONSTATTR INLINEATTR float
CONSTATTR float
MATH_MANGLE(cbrt)(float x)
{
if (DAZ_OPT()) {
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/ceilD.cl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include "mathD.h"

CONSTATTR INLINEATTR double
CONSTATTR double
MATH_MANGLE(ceil)(double x)
{
return BUILTIN_CEIL_F64(x);
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/ceilF.cl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include "mathF.h"

CONSTATTR INLINEATTR float
CONSTATTR float
MATH_MANGLE(ceil)(float x)
{
return BUILTIN_CEIL_F32(x);
Expand Down
4 changes: 2 additions & 2 deletions ocml/src/ceilH.cl
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@

#include "mathH.h"

CONSTATTR INLINEATTR half2
CONSTATTR half2
MATH_MANGLE2(ceil)(half2 x)
{
return BUILTIN_CEIL_2F16(x);
}

CONSTATTR INLINEATTR half
CONSTATTR half
MATH_MANGLE(ceil)(half x)
{
return BUILTIN_CEIL_F16(x);
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/copysignD.cl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include "mathD.h"

CONSTATTR INLINEATTR double
CONSTATTR double
MATH_MANGLE(copysign)(double x, double y)
{
return BUILTIN_COPYSIGN_F64(x, y);
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/copysignF.cl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include "mathF.h"

CONSTATTR INLINEATTR float
CONSTATTR float
MATH_MANGLE(copysign)(float x, float y)
{
return BUILTIN_COPYSIGN_F32(x, y);
Expand Down
4 changes: 2 additions & 2 deletions ocml/src/copysignH.cl
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@

#include "mathH.h"

CONSTATTR INLINEATTR half2
CONSTATTR half2
MATH_MANGLE2(copysign)(half2 x, half2 y)
{
return BUILTIN_COPYSIGN_2F16(x, y);
}

CONSTATTR INLINEATTR half
CONSTATTR half
MATH_MANGLE(copysign)(half x, half y)
{
return BUILTIN_COPYSIGN_F16(x, y);
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/cosD.cl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "mathD.h"
#include "trigredD.h"

INLINEATTR double
double
MATH_MANGLE(cos)(double x)
{
struct redret r = MATH_PRIVATE(trigred)(BUILTIN_ABS_F64(x));
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/cosF.cl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "mathF.h"
#include "trigredF.h"

INLINEATTR float
float
MATH_MANGLE(cos)(float x)
{
int ix = AS_INT(x);
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/cosH.cl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

UGEN(cos)

INLINEATTR half
half
MATH_MANGLE(cos)(half x)
{
struct redret r = MATH_PRIVATE(trigred)(BUILTIN_ABS_F16(x));
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/cosbD.cl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
L = __e; \
} while (0)

INLINEATTR double
double
MATH_PRIVATE(cosb)(double x, int n, double p)
{
struct redret r = MATH_PRIVATE(trigred)(x);
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/cosbF.cl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
L = __e; \
} while (0)

INLINEATTR float
float
MATH_PRIVATE(cosb)(float x, int n, float p)
{
struct redret r = MATH_PRIVATE(trigred)(x);
Expand Down
2 changes: 1 addition & 1 deletion ocml/src/coshD.cl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

extern CONSTATTR double2 MATH_PRIVATE(epexpep)(double2 x);

CONSTATTR INLINEATTR double
CONSTATTR double
MATH_MANGLE(cosh)(double x)
{
x = BUILTIN_ABS_F64(x);
Expand Down
Loading

0 comments on commit d4b5f4d

Please sign in to comment.