Skip to content

Commit

Permalink
remove ispc related files
Browse files Browse the repository at this point in the history
  • Loading branch information
adhithadias committed May 11, 2022
1 parent 79ce4e7 commit 30c2ecf
Show file tree
Hide file tree
Showing 10 changed files with 246 additions and 1,843 deletions.
1 change: 0 additions & 1 deletion include/taco/codegen/module.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ class Module {

private:
std::stringstream source;
std::stringstream additional_source;
std::stringstream header;
std::string libname;
std::string tmpdir;
Expand Down
12 changes: 0 additions & 12 deletions include/taco/cuda.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,7 @@
#define CUDA_BUILT false
#endif

#ifndef ISPC_BUILT
#define ISPC_BUILT false
#endif

namespace taco {

/// Functions used by taco to interface with ISPC
bool should_use_ISPC_codegen();
void set_ISPC_codegen_enabled(bool enabled);
bool is_ISPC_code_stream_enabled();
void set_ISPC_code_stream_enabled(bool enabled);


/// Functions used by taco to interface with CUDA (especially unified memory)
/// Check if should use CUDA codegen
bool should_use_CUDA_codegen();
Expand Down
7 changes: 0 additions & 7 deletions src/codegen/codegen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#include "taco/cuda.h"
#include "codegen_cuda.h"
#include "codegen_c.h"
#include "codegen_ispc.h"
#include <algorithm>
#include <unordered_set>

Expand All @@ -27,9 +26,6 @@ shared_ptr<CodeGen> CodeGen::init_default(std::ostream &dest, OutputKind outputK
if (should_use_CUDA_codegen()) {
return make_shared<CodeGen_CUDA>(dest, outputKind);
}
else if (should_use_ISPC_codegen()) {
return make_shared<CodeGen_ISPC>(dest, outputKind);
}
else {
return make_shared<CodeGen_C>(dest, outputKind);
}
Expand All @@ -39,9 +35,6 @@ shared_ptr<CodeGen> CodeGen::init_default(std::ostream &dest, std::ostream &dest
if (should_use_CUDA_codegen()) {
return make_shared<CodeGen_CUDA>(dest, outputKind);
}
else if (should_use_ISPC_codegen()) {
return make_shared<CodeGen_ISPC>(dest, dest2, outputKind);
}
else {
return make_shared<CodeGen_C>(dest, outputKind);
}
Expand Down
Loading

0 comments on commit 30c2ecf

Please sign in to comment.