I noticed that the textEmbed function has a device option to choose between cpu or gpu.
But when running textEmbed with "device" set to "gpu" I get the message: "Unable to use CUDA (GPU), using CPU". Is there an easy way to make R use gpu instead of cpu in this function?