Skip to content

Commit

Permalink
remove deprecated func (#818)
Browse files Browse the repository at this point in the history
  • Loading branch information
anj-s committed Oct 20, 2021
1 parent fb7b6a9 commit 51e43b6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fairscale/clib/fused_adam_cuda/fused_adam_cuda_kernel.cu
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include <cmath>
#include "ATen/TensorUtils.h"
#include "ATen/AccumulateType.h"
#include <THC/THCGeneral.h>
#include "multi_tensor_apply.cuh"

#define BLOCK_SIZE 512
Expand Down Expand Up @@ -262,5 +261,5 @@ void fused_adam_cuda(
throw "Parameters must be of type float or half";
}
}
THCudaCheck(cudaGetLastError());
C10_CUDA_CHECK(cudaGetLastError());
}

0 comments on commit 51e43b6

Please sign in to comment.