-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: general backend #46
Conversation
Signed-off-by: xhe <xw897002528@gmail.com>
👍 |
Thanks for the invitation, so, does this PR LGTM to you? @chenqy4933 |
make local there are error:
|
I'll check later. |
@chenqy4933 Can you provide me some more info? For example, the output of cmake, with the following lines inserted at L61
|
it is right,I test on other x86 machine。the log is:
by the way, there are error when enable GPU, although the GPU is not complete |
Hmm, this is strange. Can you paste your full log with |
I will debug it in my machine, LGTM |
Main changes:
kernel_opt.h
andkernel_opt.cpp
into every platform (x86/arm)src/kern/optimized/${arch}
orsrc/kern/gpu
ifdef INFER_XXX
insrc/kern/optimized/${arch}
This allows more flexiblity in platform implementation. I mean that every arch can implement different kernels. You don't need to write every kernel in
kernel_opt.h
. You can also write some kernels if you like.For example, for rvv arch, you don't need to write vectorized cpp code for compilers. That does not quite work on rvv.