Skip to content

Commit

Permalink
Re-organize the backward split code generation (pytorch#1871)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: pytorch#1871

- Move the determination of `kMaxVecsPerThread` and `kThreadGroupSize` in `embedding_backward_split_template.cu` into its own macro

- Update `embedding_backward_split_template.cu` to hardcode values for kMaxVecsPerThread and kThreadGroupSize for the experimental optimizers case

Reviewed By: sryap

Differential Revision: D47354614

fbshipit-source-id: 85e947734d929d86339a348e3fb4bda1eeb24dce
  • Loading branch information
q10 authored and facebook-github-bot committed Jul 12, 2023
1 parent 0b589b8 commit eea19e8
Showing 1 changed file with 310 additions and 255 deletions.
Loading

0 comments on commit eea19e8

Please sign in to comment.