aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/cumatrix_example.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/cumatrix_example.lua b/examples/cumatrix_example.lua
index 544fc7f..ff9dd78 100644
--- a/examples/cumatrix_example.lua
+++ b/examples/cumatrix_example.lua
@@ -2,6 +2,7 @@ m = 4
n = 4
fm = nerv.CuMatrixFloat(m, n)
dm = nerv.CuMatrixDouble(m, n)
+print(type(dm), nerv.typename(dm))
for i = 0, m - 1 do
for j = 0, n - 1 do
-- local t = math.random(10)