Skip to content

Commit

Permalink
Revert "extra Blas header to include instead of inc files"
Browse files Browse the repository at this point in the history
This reverts commit d57adb3.
  • Loading branch information
ZuseZ4 committed Oct 24, 2023
1 parent d57adb3 commit 2fa7c41
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
3 changes: 2 additions & 1 deletion enzyme/Enzyme/AdjointGenerator.h
Original file line number Diff line number Diff line change
Expand Up @@ -3748,7 +3748,8 @@ class AdjointGenerator
}

// first one allows adding attributes to blas functions declared in the second
#include "BlasHeader.h"
#include "BlasAttributor.inc"
#include "BlasDerivatives.inc"

void visitOMPCall(llvm::CallInst &call) {
using namespace llvm;
Expand Down
7 changes: 0 additions & 7 deletions enzyme/Enzyme/BlasHeader.h

This file was deleted.

2 changes: 1 addition & 1 deletion enzyme/Enzyme/Enzyme.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
#include "llvm/Transforms/Utils/Mem2Reg.h"
#endif

#include "BlasHeader.h"
#include "BlasAttributor.inc"

#include "CApi.h"
using namespace llvm;
Expand Down
2 changes: 1 addition & 1 deletion enzyme/Enzyme/PreserveNVVM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ bool preserveLinkage(bool Begin, Function &F) {
return false;
}

#include "BlasHeader.h"
void attributeBLAS(BlasInfo blas, llvm::Function *F);

bool preserveNVVM(bool Begin, Function &F) {
bool changed = false;
Expand Down

0 comments on commit 2fa7c41

Please sign in to comment.