Skip to content

Commit

Permalink
Reuse cuda_calc_xblock_count and remove duplicated copy (pytorch#2607)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: pytorch#2607

Just reuse cuda_calc_xblock_count and remove duplicated copy.

Reviewed By: jiawenliu64

Differential Revision: D57533730

fbshipit-source-id: 659a6a77fadbbef0becc5363cef10ff6e72a6d12
  • Loading branch information
jianyuh authored and facebook-github-bot committed May 22, 2024
1 parent d7a5500 commit 8f19539
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 151 deletions.
150 changes: 0 additions & 150 deletions fbgemm_gpu/experimental/gen_ai/src/quantize/cuda_dispatch_utils.h

This file was deleted.

2 changes: 1 addition & 1 deletion fbgemm_gpu/experimental/gen_ai/src/quantize/quantize.cu
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include <ATen/cuda/Atomic.cuh>
#include <algorithm>

#include <fbgemm_gpu/sparse_ops_utils.h>
#include "fbgemm_gpu/fbgemm_cuda_utils.cuh"

#if !( \
Expand All @@ -33,7 +34,6 @@
#include <mma.h>
#endif
#include <cub/cub.cuh>
#include "cuda_dispatch_utils.h"

#include <torch/torch.h>

Expand Down

0 comments on commit 8f19539

Please sign in to comment.