[arrayfire] 26/84: Removing unnecessary af/macros.h from all examples

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Mon Jan 4 23:22:19 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository arrayfire.

commit 59da65f7f60301ecaa09103610c181652b59ffde
Author: Pavan Yalamanchili <pavan at arrayfire.com>
Date:   Mon Dec 14 15:57:07 2015 -0500

    Removing unnecessary af/macros.h from all examples
---
 examples/benchmarks/blas.cpp                      | 1 -
 examples/benchmarks/fft.cpp                       | 1 -
 examples/benchmarks/pi.cpp                        | 1 -
 examples/financial/black_scholes_options.cpp      | 1 -
 examples/financial/heston_model.cpp               | 1 -
 examples/financial/monte_carlo_options.cpp        | 1 -
 examples/getting_started/convolve.cpp             | 1 -
 examples/getting_started/integer.cpp              | 1 -
 examples/getting_started/rainfall.cpp             | 1 -
 examples/getting_started/vectorize.cpp            | 1 -
 examples/graphics/fractal.cpp                     | 1 -
 examples/helloworld/helloworld.cpp                | 1 -
 examples/image_processing/brain_segmentation.cpp  | 1 -
 examples/image_processing/optical_flow.cpp        | 1 -
 examples/lin_algebra/cholesky.cpp                 | 1 -
 examples/lin_algebra/lu.cpp                       | 1 -
 examples/lin_algebra/qr.cpp                       | 1 -
 examples/lin_algebra/svd.cpp                      | 1 -
 examples/machine_learning/bagging.cpp             | 1 -
 examples/machine_learning/deep_belief_net.cpp     | 1 -
 examples/machine_learning/kmeans.cpp              | 1 -
 examples/machine_learning/knn.cpp                 | 1 -
 examples/machine_learning/logistic_regression.cpp | 1 -
 examples/machine_learning/naive_bayes.cpp         | 1 -
 examples/machine_learning/neural_network.cpp      | 1 -
 examples/machine_learning/perceptron.cpp          | 1 -
 examples/machine_learning/rbm.cpp                 | 1 -
 examples/machine_learning/softmax_regression.cpp  | 1 -
 examples/pde/swe.cpp                              | 1 -
 examples/unified/basic.cpp                        | 1 -
 30 files changed, 30 deletions(-)

diff --git a/examples/benchmarks/blas.cpp b/examples/benchmarks/blas.cpp
index 109aa1f..e1e3f0d 100644
--- a/examples/benchmarks/blas.cpp
+++ b/examples/benchmarks/blas.cpp
@@ -8,7 +8,6 @@
  ********************************************************/
 
 #include <arrayfire.h>
-#include <af/macros.h>
 #include <stdio.h>
 #include <math.h>
 #include <cstdlib>
diff --git a/examples/benchmarks/fft.cpp b/examples/benchmarks/fft.cpp
index 2042411..5b196c8 100644
--- a/examples/benchmarks/fft.cpp
+++ b/examples/benchmarks/fft.cpp
@@ -8,7 +8,6 @@
  ********************************************************/
 
 #include <arrayfire.h>
-#include <af/macros.h>
 #include <stdio.h>
 #include <math.h>
 #include <cstdlib>
diff --git a/examples/benchmarks/pi.cpp b/examples/benchmarks/pi.cpp
index 69384f7..9ad5ad4 100644
--- a/examples/benchmarks/pi.cpp
+++ b/examples/benchmarks/pi.cpp
@@ -19,7 +19,6 @@
 #include <math.h>
 #include <cstdlib>
 #include <arrayfire.h>
-#include <af/macros.h>
 using namespace af;
 
 // generate millions of random samples
diff --git a/examples/financial/black_scholes_options.cpp b/examples/financial/black_scholes_options.cpp
index a1f1b26..a8cdc07 100644
--- a/examples/financial/black_scholes_options.cpp
+++ b/examples/financial/black_scholes_options.cpp
@@ -11,7 +11,6 @@
 #include <stdio.h>
 #include <math.h>
 #include <arrayfire.h>
-#include <af/macros.h>
 #include <cstdlib>
 
 #include "input.h"
diff --git a/examples/financial/heston_model.cpp b/examples/financial/heston_model.cpp
index afa07b2..0be51fc 100644
--- a/examples/financial/heston_model.cpp
+++ b/examples/financial/heston_model.cpp
@@ -32,7 +32,6 @@
 #include <stdio.h>
 #include <iostream>
 #include <arrayfire.h>
-#include <af/macros.h>
 
 using namespace std;
 using namespace af;
diff --git a/examples/financial/monte_carlo_options.cpp b/examples/financial/monte_carlo_options.cpp
index e8c1f23..8f733ce 100644
--- a/examples/financial/monte_carlo_options.cpp
+++ b/examples/financial/monte_carlo_options.cpp
@@ -12,7 +12,6 @@
 #include <math.h>
 #include <arrayfire.h>
 #include <af/util.h>
-#include <af/macros.h>
 
 using namespace af;
 template<class ty> dtype get_dtype();
diff --git a/examples/getting_started/convolve.cpp b/examples/getting_started/convolve.cpp
index 0385c7a..8a9cfd3 100644
--- a/examples/getting_started/convolve.cpp
+++ b/examples/getting_started/convolve.cpp
@@ -10,7 +10,6 @@
 #include <stdio.h>
 #include <cstdlib>
 #include <arrayfire.h>
-#include <af/macros.h>
 using namespace af;
 
 // use static variables at file scope so timeit() wrapper functions
diff --git a/examples/getting_started/integer.cpp b/examples/getting_started/integer.cpp
index ab13591..1d1c2ca 100644
--- a/examples/getting_started/integer.cpp
+++ b/examples/getting_started/integer.cpp
@@ -10,7 +10,6 @@
 #include <stdio.h>
 #include <arrayfire.h>
 #include <af/util.h>
-#include <af/macros.h>
 #include <cstdlib>
 
 using namespace af;
diff --git a/examples/getting_started/rainfall.cpp b/examples/getting_started/rainfall.cpp
index 3c4166e..98c97d3 100644
--- a/examples/getting_started/rainfall.cpp
+++ b/examples/getting_started/rainfall.cpp
@@ -23,7 +23,6 @@
 
 #include <arrayfire.h>
 #include <af/util.h>
-#include <af/macros.h>
 #include <stdio.h>
 #include <cstdlib>
 using namespace af;
diff --git a/examples/getting_started/vectorize.cpp b/examples/getting_started/vectorize.cpp
index c640d1f..55f5e05 100644
--- a/examples/getting_started/vectorize.cpp
+++ b/examples/getting_started/vectorize.cpp
@@ -10,7 +10,6 @@
 #include <stdio.h>
 #include <arrayfire.h>
 #include <af/util.h>
-#include <af/macros.h>
 
 using namespace af;
 
diff --git a/examples/graphics/fractal.cpp b/examples/graphics/fractal.cpp
index f78d031..9ac5a86 100644
--- a/examples/graphics/fractal.cpp
+++ b/examples/graphics/fractal.cpp
@@ -10,7 +10,6 @@
 #include <stdio.h>
 #include <iostream>
 #include <arrayfire.h>
-#include <af/macros.h>
 #include <math.h>
 #include <cstdlib>
 
diff --git a/examples/helloworld/helloworld.cpp b/examples/helloworld/helloworld.cpp
index cad2e82..c3f891a 100644
--- a/examples/helloworld/helloworld.cpp
+++ b/examples/helloworld/helloworld.cpp
@@ -8,7 +8,6 @@
  ********************************************************/
 
 #include <arrayfire.h>
-#include <af/macros.h>
 #include <cstdio>
 #include <cstdlib>
 
diff --git a/examples/image_processing/brain_segmentation.cpp b/examples/image_processing/brain_segmentation.cpp
index 7f18a7c..7349bf2 100644
--- a/examples/image_processing/brain_segmentation.cpp
+++ b/examples/image_processing/brain_segmentation.cpp
@@ -11,7 +11,6 @@
 #include <stdio.h>
 #include <math.h>
 #include <arrayfire.h>
-#include <af/macros.h>
 #include "../common/progress.h"
 
 using namespace af;
diff --git a/examples/image_processing/optical_flow.cpp b/examples/image_processing/optical_flow.cpp
index 754b09f..ae77d4e 100644
--- a/examples/image_processing/optical_flow.cpp
+++ b/examples/image_processing/optical_flow.cpp
@@ -12,7 +12,6 @@
 #include <math.h>
 #include <algorithm>
 #include <arrayfire.h>
-#include <af/macros.h>
 
 using namespace af;
 
diff --git a/examples/lin_algebra/cholesky.cpp b/examples/lin_algebra/cholesky.cpp
index f3dd696..3154c65 100644
--- a/examples/lin_algebra/cholesky.cpp
+++ b/examples/lin_algebra/cholesky.cpp
@@ -8,7 +8,6 @@
  ********************************************************/
 
 #include <arrayfire.h>
-#include <af/macros.h>
 #include <cstdio>
 #include <cstdlib>
 
diff --git a/examples/lin_algebra/lu.cpp b/examples/lin_algebra/lu.cpp
index 1b0e3a5..afdd2e8 100644
--- a/examples/lin_algebra/lu.cpp
+++ b/examples/lin_algebra/lu.cpp
@@ -8,7 +8,6 @@
  ********************************************************/
 
 #include <arrayfire.h>
-#include <af/macros.h>
 #include <cstdio>
 #include <cstdlib>
 
diff --git a/examples/lin_algebra/qr.cpp b/examples/lin_algebra/qr.cpp
index 8f9bc40..e4c954e 100644
--- a/examples/lin_algebra/qr.cpp
+++ b/examples/lin_algebra/qr.cpp
@@ -8,7 +8,6 @@
  ********************************************************/
 
 #include <arrayfire.h>
-#include <af/macros.h>
 #include <cstdio>
 #include <cstdlib>
 
diff --git a/examples/lin_algebra/svd.cpp b/examples/lin_algebra/svd.cpp
index bab8dad..ab0fe9e 100644
--- a/examples/lin_algebra/svd.cpp
+++ b/examples/lin_algebra/svd.cpp
@@ -8,7 +8,6 @@
  ********************************************************/
 
 #include <arrayfire.h>
-#include <af/macros.h>
 #include <cstdio>
 #include <cstdlib>
 
diff --git a/examples/machine_learning/bagging.cpp b/examples/machine_learning/bagging.cpp
index 3b2cfba..7c98950 100644
--- a/examples/machine_learning/bagging.cpp
+++ b/examples/machine_learning/bagging.cpp
@@ -8,7 +8,6 @@
  ********************************************************/
 
 #include <arrayfire.h>
-#include <af/macros.h>
 #include <stdio.h>
 #include <vector>
 #include <string>
diff --git a/examples/machine_learning/deep_belief_net.cpp b/examples/machine_learning/deep_belief_net.cpp
index e8e0b5b..75e9821 100644
--- a/examples/machine_learning/deep_belief_net.cpp
+++ b/examples/machine_learning/deep_belief_net.cpp
@@ -8,7 +8,6 @@
  ********************************************************/
 
 #include <arrayfire.h>
-#include <af/macros.h>
 #include <stdio.h>
 #include <vector>
 #include <string>
diff --git a/examples/machine_learning/kmeans.cpp b/examples/machine_learning/kmeans.cpp
index 0e251b3..51351aa 100644
--- a/examples/machine_learning/kmeans.cpp
+++ b/examples/machine_learning/kmeans.cpp
@@ -10,7 +10,6 @@
 #include <iostream>
 #include <stdio.h>
 #include <arrayfire.h>
-#include <af/macros.h>
 #include <af/util.h>
 #include <cstdlib>
 
diff --git a/examples/machine_learning/knn.cpp b/examples/machine_learning/knn.cpp
index 8d8d4de..e07c853 100644
--- a/examples/machine_learning/knn.cpp
+++ b/examples/machine_learning/knn.cpp
@@ -12,7 +12,6 @@
 #include <vector>
 #include <string>
 #include <af/util.h>
-#include <af/macros.h>
 #include <math.h>
 #include "mnist_common.h"
 
diff --git a/examples/machine_learning/logistic_regression.cpp b/examples/machine_learning/logistic_regression.cpp
index c02fcf8..00b9eaa 100644
--- a/examples/machine_learning/logistic_regression.cpp
+++ b/examples/machine_learning/logistic_regression.cpp
@@ -8,7 +8,6 @@
  ********************************************************/
 
 #include <arrayfire.h>
-#include <af/macros.h>
 #include <stdio.h>
 #include <vector>
 #include <string>
diff --git a/examples/machine_learning/naive_bayes.cpp b/examples/machine_learning/naive_bayes.cpp
index daf76d7..788570b 100644
--- a/examples/machine_learning/naive_bayes.cpp
+++ b/examples/machine_learning/naive_bayes.cpp
@@ -12,7 +12,6 @@
 #include <vector>
 #include <string>
 #include <af/util.h>
-#include <af/macros.h>
 #include <math.h>
 #include "mnist_common.h"
 
diff --git a/examples/machine_learning/neural_network.cpp b/examples/machine_learning/neural_network.cpp
index 9188fca..f6effeb 100644
--- a/examples/machine_learning/neural_network.cpp
+++ b/examples/machine_learning/neural_network.cpp
@@ -12,7 +12,6 @@
 #include <vector>
 #include <string>
 #include <af/util.h>
-#include <af/macros.h>
 #include <math.h>
 #include "mnist_common.h"
 
diff --git a/examples/machine_learning/perceptron.cpp b/examples/machine_learning/perceptron.cpp
index c12c8a9..f04e050 100644
--- a/examples/machine_learning/perceptron.cpp
+++ b/examples/machine_learning/perceptron.cpp
@@ -12,7 +12,6 @@
 #include <vector>
 #include <string>
 #include <af/util.h>
-#include <af/macros.h>
 #include <math.h>
 #include "mnist_common.h"
 
diff --git a/examples/machine_learning/rbm.cpp b/examples/machine_learning/rbm.cpp
index 14e9fec..8c832c1 100644
--- a/examples/machine_learning/rbm.cpp
+++ b/examples/machine_learning/rbm.cpp
@@ -11,7 +11,6 @@
 #include <stdio.h>
 #include <vector>
 #include <string>
-#include <af/macros.h>
 #include <af/util.h>
 #include <math.h>
 #include "mnist_common.h"
diff --git a/examples/machine_learning/softmax_regression.cpp b/examples/machine_learning/softmax_regression.cpp
index 5b523d9..9d8e36d 100644
--- a/examples/machine_learning/softmax_regression.cpp
+++ b/examples/machine_learning/softmax_regression.cpp
@@ -8,7 +8,6 @@
  ********************************************************/
 
 #include <arrayfire.h>
-#include <af/macros.h>
 #include <stdio.h>
 #include <vector>
 #include <string>
diff --git a/examples/pde/swe.cpp b/examples/pde/swe.cpp
index a7b9d28..0d3b39f 100644
--- a/examples/pde/swe.cpp
+++ b/examples/pde/swe.cpp
@@ -3,7 +3,6 @@
 #include <string.h>
 #include <math.h>
 #include <arrayfire.h>
-#include <af/macros.h>
 #include "../common/progress.h"
 
 using namespace af;
diff --git a/examples/unified/basic.cpp b/examples/unified/basic.cpp
index f48c076..8936477 100644
--- a/examples/unified/basic.cpp
+++ b/examples/unified/basic.cpp
@@ -8,7 +8,6 @@
  ********************************************************/
 
 #include <arrayfire.h>
-#include <af/macros.h>
 #include <cstdio>
 #include <vector>
 #include <algorithm>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/arrayfire.git



More information about the debian-science-commits mailing list