Skip to content

Commit e7b0f30

Browse files
author
xinyxiao
committed
Update file name and documentation for HIP intrinsic rules
- Renamed the file from `intrin_rule_cuda.cc` to `intrin_rule_hip.cc` to accurately reflect the focus on HIP intrinsic rules. - Updated the file documentation to clarify its purpose as related to HIP rather than CUDA.
1 parent d62b898 commit e7b0f30

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/target/intrin_rule_hip.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
2-
* \file intrin_rule_cuda.cc
3-
* \brief CUDA intrinsic rules.
2+
* \file intrin_rule_hip.cc
3+
* \brief HIP intrinsic rules.
44
*/
55
#include <tvm/tir/builtin.h>
66
#include <tvm/tir/op_attr_types.h>
@@ -125,6 +125,7 @@
125125
ICHECK(call != nullptr);
126126
ICHECK_EQ(call->args.size(), 5); // mask, value, warp_id, width, warp_size
127127
Array<PrimExpr> hip_args{{call->args[0], call->args[1], call->args[2], call->args[3]}};
128+
// NOLINTNEXTLINE(clang-analyzer-cplusplus.InnerPointer)
128129
return Call(call->dtype, T()(call->dtype, Downcast<Op>(call->op)), hip_args);
129130
}
130131

0 commit comments

Comments
 (0)