Skip to content

Commit

Permalink
Fix build without cuda N2
Browse files Browse the repository at this point in the history
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
  • Loading branch information
bensuperpc committed Jul 10, 2022
1 parent c20dc37 commit 052072c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/GTA_SA_cheat_finder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ void GTA_SA::run()
std::cout << "" << std::endl;
}

#if !defined(BUILD_WITH_CUDA)
#if defined(BUILD_WITH_CUDA)
void GTA_SA::cuda_runner()
{
if ((max_range - min_range) < cuda_block_size) {
Expand Down
2 changes: 1 addition & 1 deletion source/GTA_SA_cheat_finder.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class GTA_SA
public:
GTA_SA();
void cpu_runner(const std::uint64_t i);
#if !defined(BUILD_WITH_CUDA)
#if defined(BUILD_WITH_CUDA)
void cuda_runner();
#endif
void run();
Expand Down

0 comments on commit 052072c

Please sign in to comment.