HCC
HCC is a single-source, C/C++ compiler for heterogeneous computing. It's optimized with HSA (http://www.hsafoundation.com/).
amp_short_vectors.h
1 #pragma once
2 
3 #ifndef _AMP_SHORT_VECTORS_H
4 #define _AMP_SHORT_VECTORS_H
5 
6 #include <cstddef>
7 #include <type_traits>
8 #include "kalmar_serialize.h"
9 
10 namespace Concurrency
11 {
12 namespace graphics
13 {
14 
15 #define __CPU_GPU__ restrict(cpu, amp)
16 
17 #if 1
18 #include "hc_short_vector.inl"
19 #else
20 #include "kalmar_short_vectors.inl"
21 #endif
22 
23 #undef __CPU_GPU__
24 
25 } // namespace graphics
26 } // namespace Concurrency
27 
28 #endif // _AMP_SHORT_VECTORS_H
C++ AMP namespace.
Definition: amp.h:25