cudnn functions should be unconditionally available
ezyang opened this issue · comments
Edward Z. Yang commented
Right now the symbols go away if you don't have CuDNN enabled; this is counter to the ATen Philosophy(TM)
It is somewhat annoying to actually implement this for native functions, because we effectively need to swap out the hand-written native implementations with 'not supported'. This includes all of the headers, which will barf on import of cudnn itself if it's not available. Maybe ATen should support stubbing in its code generation? Not sure.
Edward Z. Yang commented
Fixed now.