Enabled gcc for hip host code (#1214)

* Enabled gcc for hip host code

* Adding tests for hip code + (gcc & g++), without kernels

* Excluding nvcc platforms for gcc and g++ tests + Addressing review comments

* minor code clean-up

* Add rocm include path

* Added relative path for library

* Hiding non supported functions for gcc

* Incorporating review comments
Tá an tiomantas seo le fáil i:
Sarbojit2019 údaraithe agus Maneesh Gupta tiomanta 2019-08-05 09:51:36 +00:00
1 tuismitheoir 1eb3dbf065
tiomantas 3bfff0a23d
7 comhad athraithe
+100 -4

Níor tháinig aon chomhaid le do chuardach

+2
Féach ar an gComhad
@@ -255,6 +255,8 @@ typedef enum __HIP_NODISCARD hipError_t {
1071, ///< Produced when the IPC memory attach failed from ROCr.
hipErrorAssert =
1081, ///< Produced when the kernel calls assert.
hipErrorNotSupported =
1082, ///< Produced when the hip API is not supported/implemented
hipErrorTbd ///< Marker that more error codes are needed.
} hipError_t;