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
solverstack
ScalFMM
Commits
958f1165
Commit
958f1165
authored
Mar 11, 2015
by
BRAMAS Berenger
Browse files
use empty kernel class instead of loading a file
parent
077163ca
Changes
1
Show whitespace changes
Inline
Side-by-side
Src/GroupTree/OpenCl/FOpenCLDeviceWrapper.hpp
View file @
958f1165
...
...
@@ -14,22 +14,19 @@
#include "../FOutOfBlockInteraction.hpp"
#include "FEmptyOpenCLCode.hpp"
#include <starpu.h>
struct
FEmptyOpenCLFilename
{
operator
const
char
*
(){
return
nullptr
;
}
};
template
<
class
OriginalKernelClass
,
class
KernelFilenameClass
=
FEmptyOpenCL
Filenam
e
>
template
<
class
OriginalKernelClass
,
class
KernelFilenameClass
=
FEmptyOpenCL
Cod
e
>
class
FOpenCLDeviceWrapper
{
protected:
struct
Uptr9
{
struct
alignas
(
1
)
Uptr9
{
cl_mem
ptrs
[
9
];
};
struct
size_t9
{
struct
alignas
(
1
)
size_t9
{
size_t
v
[
9
];
};
...
...
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