SWDEV-249870 - Short-Term solution for Pre-Compiled Headers for Online Compilation

Change-Id: Iec989787e546ff2eb68c4b146dc540655698b569


[ROCm/clr commit: 3c9bbc335a]
This commit is contained in:
agodavar
2020-09-18 03:33:41 -04:00
zatwierdzone przez Anusha Godavarthy Surya
rodzic 3ef655ac27
commit dc55fb39c0
7 zmienionych plików z 36 dodań i 54 usunięć
@@ -345,13 +345,16 @@ typedef struct hipLaunchParams_t {
hipStream_t stream; ///< Stream identifier
} hipLaunchParams;
// Pre-Compiled header for online compilation
#ifdef ENABLE_HIP_PCH
extern const char* __hip_pch;
extern unsigned __hip_pch_size;
void __hipGetPCH(const char** pch, unsigned int*size);
#if __HIP_HAS_GET_PCH
/**
* Internal use only. This API may change in the future
* Pre-Compiled header for online compilation
*
*/
void __hipGetPCH(const char** pch, unsigned int*size);
#endif
// Doxygen end group GlobalDefs
/** @} */
@@ -32,6 +32,7 @@ THE SOFTWARE.
#include <string.h> // for getDeviceProp
#include <hip/hip_version.h>
#include <hip/hip_common.h>
enum {