Skip to content

feat: add op on cambricon impl#19

Open
bitzyz wants to merge 3 commits intofeat/dev-infrafrom
feat/dev-rmsnorm-cambricon
Open

feat: add op on cambricon impl#19
bitzyz wants to merge 3 commits intofeat/dev-infrafrom
feat/dev-rmsnorm-cambricon

Conversation

@bitzyz
Copy link

@bitzyz bitzyz commented Mar 12, 2026

  1. ✅Modified data_type.h to use WITH_CAMBRICON && CNNL_H_ condition
  2. ✅ Added rmsnorm cambricon op in src/cambricon/rms_norm
  3. ✅ Modified CMakeLists.txt to correctly handle .mlu files (using cncc compiler)
  4. ✅ Added definition for NRAM_MAX_SIZE
  5. ✅ Added definition for sumInternal function
  6. ✅ Used BANG macro for conditional compilation of MLU-specific code
  7. ✅ Fixed member initialization order in base/rms_norm.h
  8. ✅ Moved cambricon/common.h to common/cambricon/common.h

@bitzyz bitzyz self-assigned this Mar 12, 2026
@bitzyz bitzyz force-pushed the feat/dev-rmsnorm-cambricon branch 2 times, most recently from 8c13177 to 7655800 Compare March 12, 2026 11:47
@bitzyz bitzyz force-pushed the feat/dev-rmsnorm-cambricon branch from 7655800 to 35e2a2a Compare March 13, 2026 03:35
@bitzyz
Copy link
Author

bitzyz commented Mar 13, 2026

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant