Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

Commit 40d6b7d

Browse files
author
Theodoros Theodoridis
authored
Merge pull request #293 from facebookresearch/pr/fix_compilation_cache
backend compilation cache should not depend on CUDA
2 parents fa091b2 + 054725a commit 40d6b7d

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

tc/core/compilation_cache.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
#include "tc/core/cuda/cuda_compilation_cache.h"
16+
#include "tc/core/compilation_cache.h"
1717

1818
#include <version.h>
1919

tc/core/compilation_cache.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@
2626

2727
#include <compcache.pb.h>
2828

29-
#include "tc/core/cuda/cuda.h"
30-
#include "tc/core/cuda/cuda_mapping_options.h"
31-
#include "tc/core/cuda/cuda_rtc.h"
3229
#include "tc/core/utils/time.h"
3330

3431
namespace tc {

tc/core/utils/math.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
*/
1616
#pragma once
1717

18+
#include <algorithm>
1819
#include <exception>
1920

2021
namespace tc {

0 commit comments

Comments
 (0)