diff --git a/paddle/platform/device_context.h b/paddle/platform/device_context.h index fd441d27f9..2b366e6383 100644 --- a/paddle/platform/device_context.h +++ b/paddle/platform/device_context.h @@ -100,7 +100,7 @@ class CUDADeviceContext : public DeviceContext { template <> struct DefaultDeviceContextType { - using T = CUDADeviceContext; + using TYPE = CUDADeviceContext; }; class CUDNNDeviceContext : public CUDADeviceContext {