Skip to content

Conversation

@Zhao-Shi-jie
Copy link

image

@gongchensu
Copy link
Collaborator

解决一下冲突

@Zhao-Shi-jie
Copy link
Author

解决一下冲突

已解决。

#include <cuda_bf16.h>
#include <cuda_fp16.h>
#include <cuda_runtime.h>
// #include <cuda_bf16.h>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

请参考infiniop/ops/causal_softmax/cuda/kernel.cuh
通用cuda kernel头文件不能带include。在使用通用kernel时先include所需头文件(如cub),再include kernel.cuh
修改后请提供英伟达和沐曦两个平台正确编译运行截图,谢谢

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants