Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 242bf1c

Browse files
authored
Merge pull request arrayfire#95 from dela3499/patch-1
Corrected 'set_backend' command in readme.
2 parents 3537d10 + fb73d7e commit 242bf1c

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)