forked from jiuyuan/InfiniTensor
fix format
This commit is contained in:
parent
412f301323
commit
6b06ab0534
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
#include "core/common.h"
|
||||
#include "acl/acl.h"
|
||||
#include "acl/acl_op.h"
|
||||
#include "core/common.h"
|
||||
|
||||
#define checkASCENDError(call) \
|
||||
{ \
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
#include "core/kernel.h"
|
||||
#include "ascend/ascend_runtime.h"
|
||||
#include "core/kernel.h"
|
||||
|
||||
namespace infini {
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "ascend/ascend_runtime.h"
|
||||
#include "core/graph.h"
|
||||
#include "core/kernel.h"
|
||||
#include "core/runtime.h"
|
||||
#include "ascend/ascend_runtime.h"
|
||||
#include "operators/unary.h"
|
||||
|
||||
#include "test.h"
|
||||
|
@ -39,7 +39,6 @@ void testUnary(const std::function<void(void *, size_t, DataType)> &generator,
|
|||
EXPECT_TRUE(outputCpu->equalData(outputGpu2Cpu, 1e-6));
|
||||
}
|
||||
|
||||
|
||||
TEST(ascend_Unary, run) {
|
||||
testUnary<ReluObj>(IncrementalGenerator(), Shape{1, 2, 2, 3});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue