Fixed an out-of-bounds error with auto-optimization (introduced in the last few commits)

This commit is contained in:
jpekkila
2019-12-03 16:04:44 +02:00
parent 7e4212ddd9
commit 316d44b843
8 changed files with 84 additions and 44 deletions

View File

@@ -25,6 +25,7 @@
*
*/
#include "common.cuh"
#include "integration.cuh"
#include "src/core/errchk.h"
#include "src/core/math_utils.h"
@@ -283,7 +284,7 @@ dummy_kernel(void)
a* a;
}
AcReal
AcResult
acKernelDummy(void)
{
dummy_kernel<<<1, 1>>>();