-
Notifications
You must be signed in to change notification settings - Fork 96
[SYCLomatic] Enable migration of CUBLASLT_EPILOGUE_GELU & GELU_AUX #2436
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -220,9 +220,13 @@ void foo3() { | |
| // CHECK: dpct::blas_gemm::experimental::epilogue_t e; | ||
| // CHECK-NEXT: e = dpct::blas_gemm::experimental::epilogue_t::nop; | ||
| // CHECK-NEXT: e = dpct::blas_gemm::experimental::epilogue_t::relu; | ||
| // CHECK-NEXT: e = dpct::blas_gemm::experimental::epilogue_t::gelu; | ||
| // CHECK-NEXT: e = dpct::blas_gemm::experimental::epilogue_t::gelu; | ||
| cublasLtEpilogue_t e; | ||
| e = CUBLASLT_EPILOGUE_DEFAULT; | ||
| e = CUBLASLT_EPILOGUE_RELU; | ||
| e = CUBLASLT_EPILOGUE_GELU; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please also add E2E tests for those 2 epilogues in: https://github.com/oneapi-src/SYCLomatic-test/blob/SYCLomatic/features/feature_case/cublasLt/matmul.cu
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK |
||
| e = CUBLASLT_EPILOGUE_GELU_AUX; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. GELU_AUX is not as same as GELU. So you need update the implementation to copy the GELU input to EPILOGUE_AUX_POINTER |
||
| } | ||
|
|
||
| void foo4() { | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.