hughperkins / cltorch

An OpenCL backend for torch.
Other
291 stars 26 forks source link

Opencl working, ish. #85

Closed AWOLASAP closed 5 years ago

AWOLASAP commented 5 years ago

I am training with Andrej Karpathy's char rnn, and whenever I use opencl to train, the integrated intel hd graphics gets used and not my amd radeon pro 560x

mturlo commented 5 years ago

Have you tried using the -gpuid (i.e. -gpuid 2) option?

AWOLASAP commented 5 years ago

I figured this out a bit ago and I fee kinda dumb, especially because I forgot I posted this. You need to use -opencl option and -gpuid option. Thanks mturlo for the comment.