* Detect when an explicit printf buffer flush is required in a device/stream synchronization function. * hip_module.cpp: add missing hc_am.hpp header