Skip to content

Commit c385b18

Browse files
committed
added defines and version module
1 parent e689997 commit c385b18

File tree

5 files changed

+421
-1
lines changed

5 files changed

+421
-1
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,12 @@
1616

1717
# DUB
1818
.dub
19+
dub.selections.json
1920
docs.json
2021
__dummy.html
2122
docs/
2223

2324
# Code coverage
2425
*.lst
26+
27+
test.d

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BSD 3-Clause License
22

3-
Copyright (c) 2017, ArrayFire
3+
Copyright (c) 2017, Prasun Anand and ArrayFire
44
All rights reserved.
55

66
Redistribution and use in source and binary forms, with or without

dub.json

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"name": "arrayfire_d",
3+
"authors": [
4+
"Prasun Anand"
5+
],
6+
"libs": ["afcuda", "cusolver", "cudart", "cufft", "cublas"],
7+
"description": "D bindings for ArrayFire library",
8+
"copyright": "Copyright (c) 2017, Prasun Anand and ArrayFire",
9+
"license": "BSD-3-Clause"
10+
}

source/arrayfire_d/af_version.d

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module arrayfire_d.af_version;
2+
3+
const string VERSION = "3.4.0";
4+
const int AF_VERSION_MAJOR = 3;
5+
const int AF_VERSION_MINOR = 4;
6+
const int AF_VERSION_PATCH = 0;
7+
const int AF_API_VERSION_CURRENT = 34;

0 commit comments

Comments
 (0)