From 5d51e1ddbdd366db9691d711e4e4544a35e0d2b2 Mon Sep 17 00:00:00 2001 From: Aditya Atluri Date: Fri, 20 Jan 2017 14:19:09 -0600 Subject: [PATCH] changes device functions documentation according to the supported apis Change-Id: I47ac6bbde11d54d8265e0d27ec8cd5da4d03eb8e [ROCm/clr commit: 5f10a69ef76ca1d01cb73af74d92d05fc3b753e0] --- .../clr/hipamd/docs/markdown/hip-math-api.md | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/projects/clr/hipamd/docs/markdown/hip-math-api.md b/projects/clr/hipamd/docs/markdown/hip-math-api.md index 6a8e90eb59..37efafbbbf 100644 --- a/projects/clr/hipamd/docs/markdown/hip-math-api.md +++ b/projects/clr/hipamd/docs/markdown/hip-math-api.md @@ -118,7 +118,7 @@ __device__ float coshf(float x); ### cospif ```cpp -__device__ __host__ float cospif(float x); +__device__ float cospif(float x); ``` **Description:** Supported @@ -230,7 +230,7 @@ __device__ float fdimf(float x, float y); ### fdividef ```cpp -__device__ __host__ float fdividef(float x, float y); +__device__ float fdividef(float x, float y); ``` **Description:** Supported @@ -302,7 +302,7 @@ __device__ float ilogbf(float x); ### isfinite ```cpp -__device__ __host__ int isfinite(float a); +__device__ int isfinite(float a); ``` **Description:** Supported @@ -574,7 +574,7 @@ __device__ float roundf(float x); ### rsqrtf ```cpp -__device__ __host__ float rsqrtf(float x); +__device__ float rsqrtf(float x); ``` **Description:** Supported @@ -598,7 +598,7 @@ __device__ float scalbnf(float x, int n); ### signbit ```cpp -__device__ __host__ unsigned signbit(float a); +__device__ int signbit(float a); ``` **Description:** Supported @@ -638,7 +638,7 @@ __device__ float sinhf(float x); ### sinpif ```cpp -__device__ __host__ float sinpif(float x); +__device__ float sinpif(float x); ``` **Description:** Supported @@ -806,7 +806,7 @@ __device__ double cosh(double x); ### cospi ```cpp -__device__ __host__ double cospi(double x); +__device__ double cospi(double x); ``` **Description:** Supported @@ -982,7 +982,7 @@ __device__ double ilogb(double x); ### isfinite ```cpp -__device__ __host__ unsigned isfinite(double x); +__device__ int isfinite(double x); ``` **Description:** Supported @@ -1270,7 +1270,7 @@ __device__ double round(double x); ### rsqrt ```cpp -__device__ __host__ double rsqrt(double x); +__device__ double rsqrt(double x); ``` **Description:** Supported @@ -1294,7 +1294,7 @@ __device__ double scalbn(double x, int n); ### signbit ```cpp -__device__ __host__ unsigned signbit(double a); +__device__ int signbit(double a); ``` **Description:** Supported @@ -1334,7 +1334,7 @@ __device__ double sinh(double x); ### sinpi ```cpp -__device__ __host__ double sinpi(double x); +__device__ double sinpi(double x); ``` **Description:** Supported