Guard new includes.
Esse commit está contido em:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário