Skip to content

Commit

Permalink
task: remove ispc related content partially
Browse files Browse the repository at this point in the history
  • Loading branch information
adhithadias committed May 11, 2022
1 parent 0cfa133 commit f6378fa
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 246 deletions.
3 changes: 0 additions & 3 deletions include/taco/lower/lowerer_impl_imperative.h
Original file line number Diff line number Diff line change
Expand Up @@ -499,13 +499,10 @@ class LowererImplImperative : public LowererImpl {

bool emitUnderivedGuards = true;

int loopDepth = 0;
int inParallelLoopDepth = 0;

std::map<ParallelUnit, ir::Expr> parallelUnitSizes;
std::map<ParallelUnit, IndexVar> parallelUnitIndexVars;
std::map<int, ParallelUnit> forUnits; // <loopdepth, ParallelUnit>
std::map<TensorVar,int> whereTempsWithLoopDepth;

/// Keep track of what IndexVars have already been defined
std::set<IndexVar> definedIndexVars;
Expand Down
21 changes: 0 additions & 21 deletions include/taco/util/strings.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,34 +9,13 @@
#include <iomanip>
#include <limits>

#include "taco/type.h"

// To get the value of a compiler macro variable
#define STRINGIFY(x) #x
#define TO_STRING(x) STRINGIFY(x)

namespace taco {
namespace util {

// /// Turn anything except floating points that can be written to a stream
// /// into a string.
// template <class T>
// typename std::enable_if<!std::is_floating_point<T>::value, std::string>::type
// toStringISPC(const T &val) {

// std::stringstream sstream;
// if (val == Int32) {
// sstream << "int32";
// }
// else if (val == Int64) {
// sstream << "int64";
// }
// else {
// sstream << val;
// }
// return sstream.str();
// }

/// Turn anything except floating points that can be written to a stream
/// into a string.
template <class T>
Expand Down
Loading

0 comments on commit f6378fa

Please sign in to comment.