Guard new includes.

Esse commit está contido em:
Alex Voicu
2018-10-18 12:29:27 +01:00
commit e66a75ea55
4 arquivos alterados com 22 adições e 5 exclusões
+7 -2
Ver Arquivo
@@ -26,8 +26,13 @@ THE SOFTWARE.
// which can only be used on the device. The programmer has full control
// over when data is copied.
#include <hc/hc.hpp>
#include <hc/hc_am.hpp>
#if defined(HC_NEXT)
#include <hc/hc.hpp>
#include <hc/hc_am.hpp>
#else
#include <hc.hpp>
#include <hc_am.hpp>
#endif
int main(int argc, char* argv[]) {
int sizeElements = 1000000;
+5 -1
Ver Arquivo
@@ -27,7 +27,11 @@ THE SOFTWARE.
// automatic data management capabilities - instead the programmer
// takes the reins and controls when copies are executed.
#include <hc/hc.hpp>
#if defined(HC_NEXT)
#include <hc/hc.hpp>
#else
#include <hc.hpp>
#endif
int main(int argc, char* argv[]) {
int sizeElements = 1000000;
+5 -1
Ver Arquivo
@@ -20,7 +20,11 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
#include <hc/hc.hpp>
#if defined(HC_NEXT)
#include <hc/hc.hpp>
#else
#include <hc.hpp>
#endif
int main(int argc, char *argv[])
{
@@ -33,7 +33,11 @@ THE SOFTWARE.
// implicit data transfer is used - really the only difference is the namespace.
// Other examples show some of the more advanced controls.
#include <hc/hc.hpp>
#if defined(HC_NEXT)
#include <hc/hc.hpp>
#else
#include <hc.hpp>
#endif
int main(int argc, char* argv[]) {
int sizeElements = 1000000;