Replace calls to ihipInit with use of HIP_INIT_API macro

Change-Id: Iabf7df79f0238a8ddffea4607fe945df36642850
This commit is contained in:
Maneesh Gupta
2016-07-22 15:46:55 +05:30
parent 1bf661223e
commit 71d51170ef
6 changed files with 32 additions and 22 deletions
+11
View File
@@ -466,6 +466,17 @@ inline std::ostream& operator<<(std::ostream& os, const ihipStream_t& s)
return os;
}
inline std::ostream & operator<<(std::ostream& os, const dim3& s)
{
os << '{';
os << s.x;
os << ',';
os << s.y;
os << ',';
os << s.z;
os << '}';
return os;
}
//----
// Internal event structure:
-1
View File
@@ -121,7 +121,6 @@ typedef struct dim3 {
} dim3;
/**
* Memory copy types
*