Detect when an explicit printf buffer flush is required (#1766)

* Detect when an explicit printf buffer flush is required
in a device/stream synchronization function.

* hip_module.cpp: add missing hc_am.hpp header
This commit is contained in:
Siu Chi Chan
2020-01-07 12:06:38 -05:00
committed by Rahul Garg
parent 76fb59122d
commit 26b50e1e1b
3 changed files with 40 additions and 6 deletions
+1
View File
@@ -28,6 +28,7 @@ THE SOFTWARE.
#include "hip/hip_ext.h"
#include "program_state.inl"
#include "trace_helper.h"
#include "hc_am.hpp"
#include <hsa/amd_hsa_kernel_code.h>
#include <hsa/hsa.h>