We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 386ec2f commit d303477Copy full SHA for d303477
1 file changed
README.md
@@ -10,8 +10,8 @@ Here is an example of the library at work:
10
import arrayfire as af
11
12
# Set any backend and device (optional: 'cuda', 'opencl', 'oneapi', 'cpu')
13
-af.setBackend(af.BackendType.cuda)
14
-af.setDevice(0)
+af.set_backend(af.BackendType.cuda)
+af.set_device(0)
15
16
# Monte Carlo estimation of pi
17
def calc_pi_device(samples):
0 commit comments