Align with HC Next.

Este commit está contenido en:
Alex Voicu
2018-09-17 11:50:29 +03:00
padre 9f553c0b40
commit 26c26f63cb
Se han modificado 15 ficheros con 149 adiciones y 51 borrados
@@ -28,6 +28,7 @@ THE SOFTWARE.
#include <hip/hip_runtime.h>
#include <hip/device_functions.h>
#include <hip/math_functions.h>
#include "test_common.h"
#pragma GCC diagnostic ignored "-Wall"
@@ -27,6 +27,7 @@ THE SOFTWARE.
*/
#include "test_common.h"
#include <hip/math_functions.h>
#include <hip/device_functions.h>
#define LEN 512
@@ -31,6 +31,10 @@ THE SOFTWARE.
#include <hip/device_functions.h>
#include "test_common.h"
#include <algorithm>
using namespace std;
#pragma GCC diagnostic ignored "-Wall"
#pragma clang diagnostic ignored "-Wunused-variable"
@@ -27,6 +27,7 @@ THE SOFTWARE.
*/
#include "hip/hip_runtime.h"
#include "hip/math_functions.h"
#include "test_common.h"
#if __HIP_ARCH_GFX803__ || __HIP_ARCH_GFX900__ || __HIP_ARCH_GFX906__
@@ -215,6 +215,7 @@ template<
typename T,
typename enable_if<
is_same<T, int>{} || is_same<T, unsigned int>{}>::type* = nullptr>
__device__
void testKernelSub(T* g_odata) {
// Atomic subtraction (final should be 0)
atomicSub(&g_odata[1], 10);
@@ -27,6 +27,8 @@ THE SOFTWARE.
#include <hip/hip_runtime.h>
#include <hip/device_functions.h>
#include <hip/math_functions.h>
#include "test_common.h"
#pragma GCC diagnostic ignored "-Wall"
+3 -1
Ver fichero
@@ -28,9 +28,11 @@ THE SOFTWARE.
#include <hip/hip_runtime_api.h>
#include <hip/hip_runtime.h>
#include <iostream>
#include "test_common.h"
#include <hip/device_functions.h>
#include <hip/math_functions.h>
#include <iostream>
#define LEN 512
#define SIZE LEN << 2