Skip to content

Commit f7dda0a

Browse files
committed
Renaming modules:
- arrayfire to arrayfire_lib - af_lib to arrayfire
1 parent ac9cbd3 commit f7dda0a

39 files changed

+43
-44
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The wrapper is currently compliant with ArrayFire 3.2 API (and higher). If you f
77
## Example
88

99
```lua
10-
local AF = require("af_lib")
10+
local AF = require("arrayfire")
1111

1212
AF.main(function()
1313
local x = AF.randu(5, "f32")

examples/lua/benchmarks/blas.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
]]
1111

1212
-- Modules --
13-
local AF = require("af_lib")
13+
local AF = require("arrayfire")
1414

1515
-- create a small wrapper to benchmark
1616
local A -- populated before each timing

examples/lua/benchmarks/fft.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
]]
1111

1212
-- Modules --
13-
local AF = require("af_lib")
13+
local AF = require("arrayfire")
1414

1515
-- create a small wrapper to benchmark
1616
local A -- populated before each timing

examples/lua/benchmarks/pi.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ local random = math.random
1919
local sqrt = math.sqrt
2020

2121
-- Modules --
22-
local AF = require("af_lib")
22+
local AF = require("arrayfire")
2323

2424
-- generate millions of random samples
2525
local samples = 20e6

examples/lua/financial/black_scholes_options.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
-- Modules --
1313
local input = require("financial.input")
14-
local AF = require("af_lib")
14+
local AF = require("arrayfire")
1515

1616
-- --
1717
local sqrt2 = math.sqrt(2)

examples/lua/financial/heston_model.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ local exp = math.exp
3636
local sqrt = math.sqrt
3737

3838
-- Modules --
39-
local AF = require("af_lib")
39+
local AF = require("arrayfire")
4040

4141
print("")
4242
print("N.B. THIS IS A WIP")

examples/lua/financial/monte_carlo_options.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ local exp = math.exp
1414
local sqrt = math.sqrt
1515

1616
-- Modules --
17-
local AF = require("af_lib")
17+
local AF = require("arrayfire")
1818

1919
-- Shorthands --
2020
local Comp, WC = AF.CompareResult, AF.WrapConstant

examples/lua/getting_started/convolve.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
]]
1111

1212
-- Modules --
13-
local lib = require("af_lib")
13+
local lib = require("arrayfire")
1414

1515
lib.main(function()
1616
-- 5x5 derivative with separable kernels

examples/lua/getting_started/integer.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
]]
1111

1212
-- Modules --
13-
local AF = require("af_lib")
13+
local AF = require("arrayfire")
1414

1515
print("")
1616
print("N.B. THIS IS A WIP")

examples/lua/getting_started/rainfall.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ print("")
2525
-- note: example adapted from
2626
-- "Rapid Problem Solving Using Thrust", Nathan Bell, NVIDIA
2727
-- Modules --
28-
local AF = require("af_lib")
28+
local AF = require("arrayfire")
2929

3030
-- Shorthands --
3131
local Comp, WC = AF.CompareResult, AF.WrapConstant

0 commit comments

Comments
 (0)