Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sbalzarini Lab
S
Software
P
Parallel Computing
OpenFPM
openfpm_devices
Commits
701457b1
Commit
701457b1
authored
Apr 21, 2021
by
incardon
Browse files
Fixing default number of threads
parent
c4610f53
Pipeline
#2936
passed with stages
in 34 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/util/cuda_launch.hpp
View file @
701457b1
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
#include "config.h"
#include "config.h"
#include "cuda_kernel_error_checker.hpp"
#include "cuda_kernel_error_checker.hpp"
#if defined(
CUDA_GPU
) && !defined(CUDA_ON_CPU) && !defined(__HIP__)
#if defined(
__NVCC__
) && !defined(CUDA_ON_CPU) && !defined(__HIP__)
constexpr
int
default_kernel_wg_threads_
=
1024
;
constexpr
int
default_kernel_wg_threads_
=
1024
;
...
...
src/util/cudify/cudify_sequencial.hpp
View file @
701457b1
...
@@ -5,6 +5,8 @@
...
@@ -5,6 +5,8 @@
#ifdef CUDA_ON_CPU
#ifdef CUDA_ON_CPU
constexpr
int
default_kernel_wg_threads_
=
1024
;
#include "cudify_hardware_common.hpp"
#include "cudify_hardware_common.hpp"
#ifdef HAVE_BOOST_CONTEXT
#ifdef HAVE_BOOST_CONTEXT
...
@@ -549,6 +551,10 @@ static void exe_kernel_no_sync(lambda_f f, ite_type & ite)
...
@@ -549,6 +551,10 @@ static void exe_kernel_no_sync(lambda_f f, ite_type & ite)
#endif
#endif
#e
ndif
#e
lse
#endif
constexpr
int
default_kernel_wg_threads_
=
1024
;
#endif
/* CUDA_ON_CPU */
#endif
/* CUDIFY_SEQUENCIAL_HPP_ */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment