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

Change-Id: Ibcb365ce2ff27c4c2379609964078da42e1226b1


[ROCm/hip commit: 9e2fa6e215]
This commit is contained in:
agodavar
2020-09-03 04:59:10 -04:00
committed by Anusha Godavarthy Surya
parent 54247e053b
commit d9eef29787
7 changed files with 127 additions and 5 deletions
+7
View File
@@ -5,6 +5,13 @@
#include "hip_code_object.hpp"
#include "platform/program.hpp"
#ifdef ENABLE_HIP_PCH
void __hipGetPCH(const char** pch, unsigned int *size) {
*pch = __hip_pch;
*size = __hip_pch_size;
}
#endif
namespace hip {
//Device Vars