@@ -54,11 +54,11 @@ std::shared_ptr<infiniop_test::Result> Test::run(
5454 auto input = _attributes->input ->to (device, device_id);
5555 auto output = _attributes->output ->to (device, device_id);
5656 CHECK_OR (infiniopCreateLeakyreluDescriptor (handle, &op_desc,
57- output->desc (),
58- input->desc (),
59- _attributes->negative_slope ),
57+ output->desc (),
58+ input->desc (),
59+ _attributes->negative_slope ),
6060 return TEST_FAILED (OP_CREATION_FAILED, " Failed to create op descriptor." ));
61-
61+
6262 size_t workspace_size;
6363 CHECK_OR (infiniopGetLeakyreluWorkspaceSize (op_desc, &workspace_size),
6464 return TEST_FAILED (OP_CREATION_FAILED, " Failed to get workspace size." ));
@@ -68,9 +68,9 @@ std::shared_ptr<infiniop_test::Result> Test::run(
6868 return TEST_FAILED (OP_CREATION_FAILED, " Failed to allocate workspace" ));
6969 }
7070 CHECK_OR (infiniopLeakyrelu (op_desc, workspace, workspace_size,
71- output->data (),
72- input->data (),
73- nullptr ),
71+ output->data (),
72+ input->data (),
73+ nullptr ),
7474 return TEST_FAILED (OP_EXECUTION_FAILED, " Failed during execution." ));
7575
7676 try {
@@ -94,16 +94,16 @@ std::shared_ptr<infiniop_test::Result> Test::run(
9494 return TEST_PASSED (elapsed_time);
9595}
9696
97- std::vector<std::string> Test::attribute_names () {
98- return {" negative_slope" };
97+ std::vector<std::string> Test::attribute_names () {
98+ return {" negative_slope" };
9999}
100100
101- std::vector<std::string> Test::tensor_names () {
102- return {" input" , " output" , " ans" };
101+ std::vector<std::string> Test::tensor_names () {
102+ return {" input" , " output" , " ans" };
103103}
104104
105- std::vector<std::string> Test::output_names () {
106- return {" output" };
105+ std::vector<std::string> Test::output_names () {
106+ return {" output" };
107107}
108108
109109std::string Test::toString () const {
@@ -120,4 +120,4 @@ std::string Test::toString() const {
120120Test::~Test () {
121121 delete _attributes;
122122}
123- } // namespace infiniop_test::leakyrelu
123+ } // namespace infiniop_test::leakyrelu
0 commit comments