Skip to content

Commit

Permalink
[Feature](mlu-ops): add mluAdamW.
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrelYy committed Dec 23, 2024
1 parent c952491 commit a909ce7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions bangc_kernels.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
#ifndef BANGC_KERNELS_H_
#define BANGC_KERNELS_H_

#ifndef NAMESPACE_BANGC_KERNELS_GEGIN
#define NAMESPACE_BANGC_KERNELS_GEGIN namespace bangc_kernels {
#ifndef NAMESPACE_BANGC_KERNELS_BEGIN
#define NAMESPACE_BANGC_KERNELS_BEGIN namespace bangc_kernels {
#endif

NAMESPACE_BANGC_KERNELS_GEGIN
NAMESPACE_BANGC_KERNELS_BEGIN

#ifndef BANGC_KERNELS_WIN_API
#ifdef _WIN32
Expand Down
2 changes: 1 addition & 1 deletion kernels/adam_w/adam_w_union1.mlu
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ mluOpStatus_t MLUOP_WIN_API KernelApplyAdamW(
return MLUOP_STATUS_SUCCESS;
}

NAMESPACE_BANGC_KERNELS_GEGIN
NAMESPACE_BANGC_KERNELS_BEGIN

template <typename T>
bangcKernelsStatus_t BANGC_KERNELS_WIN_API
Expand Down

0 comments on commit a909ce7

Please sign in to comment.