Unverified Commit 51e43b61 authored by anj-s's avatar anj-s Committed by GitHub
Browse files

remove deprecated func (#818)

parent fb7b6a93
......@@ -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
......@@ -262,5 +261,5 @@ void fused_adam_cuda(
throw "Parameters must be of type float or half";
}
}
THCudaCheck(cudaGetLastError());
C10_CUDA_CHECK(cudaGetLastError());
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment