Skip to content

Commit 417e841

Browse files
committed
Merge pull request #58 from shehzan10/devel
Minor fixes from OSX tests
2 parents d42dd87 + 6e2271a commit 417e841

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
[ArrayFire](https://github.com/arrayfire/arrayfire) is a high performance library for parallel computing with an easy-to-use API. It enables users to write scientific computing code that is portable across CUDA, OpenCL and CPU devices. This project provides Python bindings for the ArrayFire library.
44

55
## Status
6-
| OS | Tests |
7-
|:------:|:------:|
8-
| Linux | [![Build Status](http://ci.arrayfire.org/buildStatus/icon?job=arrayfire-wrappers/python-linux)](http://ci.arrayfire.org/view/All/job/arrayfire-wrappers/job/python-linux/) |
9-
| Windows | [![Build Status](http://ci.arrayfire.org/buildStatus/icon?job=arrayfire-wrappers/python-windows)](http://ci.arrayfire.org/view/All/job/arrayfire-wrappers/job/python-windows/) |
6+
| OS | Tests |
7+
|:-------:|:-------:|
8+
| Linux | [![Build Status](http://ci.arrayfire.org/buildStatus/icon?job=arrayfire-wrappers/python-linux)](http://ci.arrayfire.org/view/All/job/arrayfire-wrappers/job/python-linux/) |
9+
| Windows | [![Build Status](http://ci.arrayfire.org/buildStatus/icon?job=arrayfire-wrappers/python-windows)](http://ci.arrayfire.org/view/All/job/arrayfire-wrappers/job/python-windows/) |
10+
| OSX | [![Build Status](http://ci.arrayfire.org/buildStatus/icon?job=arrayfire-wrappers/python-osx)](http://ci.arrayfire.org/view/All/job/arrayfire-wrappers/job/python-osx/) |
1011

1112
## Example
1213

tests/simple/arith.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ def simple_arith(verbose = False):
1515
display_func = _util.display_func(verbose)
1616
print_func = _util.print_func(verbose)
1717

18-
a = af.randu(3,3,dtype=af.Dtype.u32)
19-
b = af.constant(4, 3, 3, dtype=af.Dtype.u32)
18+
a = af.randu(3,3)
19+
b = af.constant(4, 3, 3)
2020
display_func(a)
2121
display_func(b)
2222

@@ -99,6 +99,9 @@ def simple_arith(verbose = False):
9999
display_func(a == 0.5)
100100
display_func(0.5 == a)
101101

102+
a = af.randu(3,3,dtype=af.Dtype.u32)
103+
b = af.constant(4, 3, 3, dtype=af.Dtype.u32)
104+
102105
display_func(a & b)
103106
display_func(a & 2)
104107
c = a

0 commit comments

Comments
 (0)