zdevito / ATen

ATen: A TENsor library for C++11

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cudnn functions should be unconditionally available

ezyang opened this issue · comments

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.

Fixed now.