Hi ,
Are you able to run you code without cuda-gdb? Do you still get initialisation error ? Another topic with similar issue for your reference :