Skip to content

Commit fb73d7e

Browse files
authored
Corrected 'set_backend' command in readme.
Now the readme matches the online documentation [here](http://arrayfire.org/arrayfire-python/).
1 parent 3537d10 commit fb73d7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def calc_pi_device(samples):
3131
```
3232

3333

34-
Choosing a particular backend can be done using `af.backend.set( backend_name )` where backend_name can be one of: "_cuda_", "_opencl_", or "_cpu_". The default device is chosen in the same order of preference.
34+
Choosing a particular backend can be done using `af.set_backend(name)` where name is either "_cuda_", "_opencl_", or "_cpu_". The default device is chosen in the same order of preference.
3535

3636
## Requirements
3737

0 commit comments

Comments
 (0)