SWDEV-283267 - Add rtc document and remove hip header from tests

Change-Id: I43a23384ab70128ccd7f41204f796105576cd604
This commit is contained in:
Jatin Chaudhary
2021-06-22 01:52:47 -07:00
committed by Aaron En Ye Shi
parent 1b53e0c51c
commit b337a5586b
4 changed files with 89 additions and 4 deletions
-1
View File
@@ -16,7 +16,6 @@ static constexpr auto NUM_BLOCKS{32};
static constexpr auto saxpy{
R"(
#include <hip/hip_runtime.h>
extern "C"
__global__
void saxpy(float a, float* x, float* y, float* out, size_t n)
@@ -36,8 +36,6 @@ THE SOFTWARE.
static constexpr const char gpu_program[]{
R"(
#include <hip/hip_runtime.h>
__device__ int V1; // set from host code
static __global__ void f1(int *result) { *result = V1 + 10; }
namespace N1 {
-1
View File
@@ -42,7 +42,6 @@ static constexpr auto NUM_BLOCKS{32};
static constexpr auto saxpy{
R"(
#include <hip/hip_runtime.h>
#include "test_header.h"
#include "test_header1.h"
extern "C"