LogicError: cuCtxCreate failed: invalid device ordinal

Hi @donghuachen,

What version of CUDA are you using?