Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rusty1s committed Dec 30, 2024
1 parent 328681b commit 24b8f45
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 5 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ recursive-exclude third_party/parallel-hashmap/tests *
recursive-exclude third_party/parallel-hashmap/examples *
recursive-exclude third_party/parallel-hashmap/benchmark *
recursive-exclude third_party/METIS/graphs *
recursive-exclude third_party/cccl/benchmarks *
recursive-exclude third_party/cccl/docs *
recursive-exclude third_party/cccl/examples *
recursive-exclude third_party/cuCollections/examples *
recursive-exclude third_party/cuCollections/tests *

recursive-exclude test *
recursive-exclude docs *
Expand Down
4 changes: 1 addition & 3 deletions pyg_lib/csrc/ops/cuda/sampled_kernel.cu
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@
#include <ATen/cuda/CUDAContext.h>
#include <torch/library.h>

#include <cuco/static_map.cuh>

namespace pyg {
namespace ops {

namespace {

#define THREADS 1024
#define CDIV(N, M) ((N) + (M) - 1) / (M)
#define CDIV(N, M) ((N) + (M)-1) / (M)

enum FnType { ADD, SUB, MUL, DIV };
const std::map<std::string, FnType> to_fn_type = {
Expand Down

0 comments on commit 24b8f45

Please sign in to comment.