Skip to content

Commit f6378fa

Browse files
committed
task: remove ispc related content partially
1 parent 0cfa133 commit f6378fa

File tree

5 files changed

+12
-246
lines changed

5 files changed

+12
-246
lines changed

include/taco/lower/lowerer_impl_imperative.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -499,13 +499,10 @@ class LowererImplImperative : public LowererImpl {
499499

500500
bool emitUnderivedGuards = true;
501501

502-
int loopDepth = 0;
503502
int inParallelLoopDepth = 0;
504503

505504
std::map<ParallelUnit, ir::Expr> parallelUnitSizes;
506505
std::map<ParallelUnit, IndexVar> parallelUnitIndexVars;
507-
std::map<int, ParallelUnit> forUnits; // <loopdepth, ParallelUnit>
508-
std::map<TensorVar,int> whereTempsWithLoopDepth;
509506

510507
/// Keep track of what IndexVars have already been defined
511508
std::set<IndexVar> definedIndexVars;

include/taco/util/strings.h

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,34 +9,13 @@
99
#include <iomanip>
1010
#include <limits>
1111

12-
#include "taco/type.h"
13-
1412
// To get the value of a compiler macro variable
1513
#define STRINGIFY(x) #x
1614
#define TO_STRING(x) STRINGIFY(x)
1715

1816
namespace taco {
1917
namespace util {
2018

21-
// /// Turn anything except floating points that can be written to a stream
22-
// /// into a string.
23-
// template <class T>
24-
// typename std::enable_if<!std::is_floating_point<T>::value, std::string>::type
25-
// toStringISPC(const T &val) {
26-
27-
// std::stringstream sstream;
28-
// if (val == Int32) {
29-
// sstream << "int32";
30-
// }
31-
// else if (val == Int64) {
32-
// sstream << "int64";
33-
// }
34-
// else {
35-
// sstream << val;
36-
// }
37-
// return sstream.str();
38-
// }
39-
4019
/// Turn anything except floating points that can be written to a stream
4120
/// into a string.
4221
template <class T>

0 commit comments

Comments
 (0)