Skip to content

Commit

Permalink
fix(gpu): fix tfhe-cuda-backend release
Browse files Browse the repository at this point in the history
  • Loading branch information
agnesLeroy authored and soonum committed Mar 26, 2024
1 parent f5fb578 commit 2955f0a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
4 changes: 1 addition & 3 deletions backends/tfhe-cuda-backend/cuda/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,7 @@ else()
set(CUDA_ARCH "700")
endif()

message(STATUS "CUDA_ARCH: ${CUDA_ARCH}")

configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cuda_config.h.in ${CMAKE_CURRENT_SOURCE_DIR}/include/cuda_config.h)
add_compile_definitions(CUDA_ARCH=${CUDA_ARCH})

# in production, should use -arch=sm_70 --ptxas-options=-v to see register spills -lineinfo for better debugging
set(CMAKE_CUDA_FLAGS
Expand Down
3 changes: 0 additions & 3 deletions backends/tfhe-cuda-backend/cuda/cuda_config.h.in

This file was deleted.

1 change: 0 additions & 1 deletion backends/tfhe-cuda-backend/cuda/include/device.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#ifndef DEVICE_H
#define DEVICE_H

#include "cuda_config.h"
#include <cstdint>
#include <cstdio>
#include <cstdlib>
Expand Down

0 comments on commit 2955f0a

Please sign in to comment.