File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
native/transformers/hip/flash_attn/ck Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -419,7 +419,7 @@ void Context::setROCmFAPreferredBackend(at::ROCmFABackend b) {
419419 if (b == at::ROCmFABackend::Ck) {
420420 static const bool ck_unsupported = []() {
421421 static const std::vector<std::string> archs = {
422- " gfx90a" , " gfx942"
422+ " gfx90a" , " gfx942" , " gfx950 "
423423 };
424424 for (auto index: c10::irange (detail::getCUDAHooks ().deviceCount ())) {
425425 if (!detail::getCUDAHooks ().isGPUArch (archs, index)) {
Original file line number Diff line number Diff line change @@ -453,4 +453,5 @@ struct fmha_bwd_traits
453453 bool is_deterministic;
454454 // TODO: padding check is inside this api
455455};
456+ template <int Version = 2 >
456457float fmha_bwd (fmha_bwd_traits, fmha_bwd_args, const ck_tile::stream_config&);
You can’t perform that action at this time.
0 commit comments