Skip to content

Commit

Permalink
moved tests out of example group. added include random to common.cxx
Browse files Browse the repository at this point in the history
  • Loading branch information
solomonik committed Oct 13, 2016
1 parent 5846164 commit 7289d5e
Show file tree
Hide file tree
Showing 25 changed files with 27 additions and 23 deletions.
3 changes: 3 additions & 0 deletions doc/doxygen.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
*
* Cyclops Tensor Framework (CTF) is a distributed-memory library that provides support for tensor algebra.
* CTF tensors are multidimensional distributed arrays of arbitrary type, which may be used to represent graphs or hypergraphs.
*
* To get an idea of how CTF can be used, browse through some of the short sample codes in the examples folder (or Examples doxygen module)!
*
* The primary means of specifying CTF tensor operations is assigning `iterator' indices for each way of each tensor and specifying an elementwise function to apply.
* Partitioning and efficient redistribution of tensor data is also possible via CTF.
*
Expand Down
1 change: 1 addition & 0 deletions src/interface/common.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include "common.h"
#include "../shared/util.h"
#include <random>

namespace CTF {
int DGTOG_SWITCH = 1;
Expand Down
2 changes: 1 addition & 1 deletion test/bivar_function.cxx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*Copyright (c) 2011, Edgar Solomonik, all rights reserved.*/

/** \addtogroup examples
/** \addtogroup tests
* @{
* \defgroup bivar_function bivar_function
* @{
Expand Down
2 changes: 1 addition & 1 deletion test/bivar_transform.cxx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*Copyright (c) 2011, Edgar Solomonik, all rights reserved.*/

/** \addtogroup examples
/** \addtogroup tests
* @{
* \defgroup bivar_transform bivar_transform
* @{
Expand Down
2 changes: 1 addition & 1 deletion test/ccsdt_map_test.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/** Copyright (c) 2011, Edgar Solomonik, all rights reserved.
* \addtogroup examples
* \addtogroup tests
* @{
* \addtogroup CCSDT_T3_to_T2
* @{
Expand Down
2 changes: 1 addition & 1 deletion test/ccsdt_t3_to_t2.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/** Copyright (c) 2011, Edgar Solomonik, all rights reserved.
* \addtogroup examples
* \addtogroup tests
* @{
* \addtogroup CCSDT_T3_to_T2
* @{
Expand Down
2 changes: 1 addition & 1 deletion test/dft.cxx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*Copyright (c) 2011, Edgar Solomonik, all rights reserved.*/

/** \addtogroup examples
/** \addtogroup tests
* @{
* \defgroup DFT
* @{
Expand Down
2 changes: 1 addition & 1 deletion test/diag_ctr.cxx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*Copyright (c) 2011, Edgar Solomonik, all rights reserved.*/

/** \addtogroup examples
/** \addtogroup tests
* @{
* \defgroup diag_ctr diag_ctr
* @{
Expand Down
2 changes: 1 addition & 1 deletion test/diag_sym.cxx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*Copyright (c) 2011, Edgar Solomonik, all rights reserved.*/

/** \addtogroup examples
/** \addtogroup tests
* @{
* \defgroup diag_sym diag_sym
* @{
Expand Down
2 changes: 1 addition & 1 deletion test/endomorphism.cxx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*Copyright (c) 2011, Edgar Solomonik, all rights reserved.*/

/** \addtogroup examples
/** \addtogroup tests
* @{
* \defgroup endomorphism endomorphism
* @{
Expand Down
2 changes: 1 addition & 1 deletion test/endomorphism_cust.cxx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*Copyright (c) 2011, Edgar Solomonik, all rights reserved.*/

/** \addtogroup examples
/** \addtogroup tests
* @{
* \defgroup endomorphism_cust endomorphism_cust
* @{
Expand Down
2 changes: 1 addition & 1 deletion test/endomorphism_cust_sp.cxx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*Copyright (c) 2011, Edgar Solomonik, all rights reserved.*/

/** \addtogroup examples
/** \addtogroup tests
* @{
* \defgroup endomorphism_cust_sp endomorphism_cust_sp
* @{
Expand Down
2 changes: 1 addition & 1 deletion test/gemm_4D.cxx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/** \addtogroup examples
/** \addtogroup tests
* @{
* \defgroup GEMM_4D GEMM_4D
* @{
Expand Down
2 changes: 1 addition & 1 deletion test/multi_tsr_sym.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*Copyright (c) 2011, Edgar Solomonik, all rights reserved.*/
/** \addtogroup examples
/** \addtogroup tests
* @{
* \defgroupmulti_tsr_sym
* @{
Expand Down
2 changes: 1 addition & 1 deletion test/permute_multiworld.cxx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*Copyright (c) 2011, Edgar Solomonik, all rights reserved.*/

/** \addtogroup examples
/** \addtogroup tests
* @{
* \defgroup permute_multiworld permute_multiworld
* @{
Expand Down
2 changes: 1 addition & 1 deletion test/readall_test.cxx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*Copyright (c) 2011, Edgar Solomonik, all rights reserved.*/

/** \addtogroup examples
/** \addtogroup tests
* @{
* \defgroup readall_test readall_test
* @{
Expand Down
2 changes: 1 addition & 1 deletion test/readwrite_test.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*Copyright (c) 2011, Edgar Solomonik, all rights reserved.*/
/** \addtogroup examples
/** \addtogroup tests
* @{
* \defgroup readwrite_test readwrite_test
* @{
Expand Down
2 changes: 1 addition & 1 deletion test/repack.cxx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*Copyright (c) 2011, Edgar Solomonik, all rights reserved.*/

/** \addtogroup examples
/** \addtogroup tests
* @{
* \defgroup repack repack
* @{
Expand Down
2 changes: 1 addition & 1 deletion test/scalar.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*Copyright (c) 2011, Edgar Solomonik, all rights reserved.*/
/** \addtogroup examples
/** \addtogroup tests
* @{
* \defgroup scalar scalar
* @{
Expand Down
2 changes: 1 addition & 1 deletion test/speye.cxx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/** \addtogroup examples
/** \addtogroup tests
* @{
* \defgroup speye speye
* @{
Expand Down
2 changes: 1 addition & 1 deletion test/sptensor_sum.cxx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/** \addtogroup examples
/** \addtogroup tests
* @{
* \defgroup sptensor_sum sptensor_sum
* @{
Expand Down
2 changes: 1 addition & 1 deletion test/subworld_gemm.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*Copyright (c) 2011, Edgar Solomonik, all rights reserved.*/
/** \addtogroup examples
/** \addtogroup tests
* @{
* \defgroup subworld_gemm subworld_gemm
* @{
Expand Down
2 changes: 1 addition & 1 deletion test/sy_times_ns.cxx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*Copyright (c) 2011, Edgar Solomonik, all rights reserved.*/

/** \addtogroup examples
/** \addtogroup tests
* @{
* \defgroup sy_times_ns sy_times_ns
* @{
Expand Down
2 changes: 1 addition & 1 deletion test/univar_function.cxx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*Copyright (c) 2011, Edgar Solomonik, all rights reserved.*/

/** \addtogroup examples
/** \addtogroup tests
* @{
* \defgroup univar_function univar_function
* @{
Expand Down
2 changes: 1 addition & 1 deletion test/weigh_4D.cxx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*Copyright (c) 2011, Edgar Solomonik, all rights reserved.*/

/** \addtogroup examples
/** \addtogroup tests
* @{
* \defgroup weigh_4D weigh_4D
* @{
Expand Down

0 comments on commit 7289d5e

Please sign in to comment.