Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
fmpi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
raphael.bach
fmpi
Commits
9dd133e8
Verified
Commit
9dd133e8
authored
3 years ago
by
raphael.bach
Browse files
Options
Downloads
Patches
Plain Diff
Undo changes to `fmpi_task_generic.h` wrongly made in
14ab80d4
parent
14ab80d4
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/internal/generic/fmpi_task_generic.h
+4
-11
4 additions, 11 deletions
include/internal/generic/fmpi_task_generic.h
with
4 additions
and
11 deletions
include/internal/generic/fmpi_task_generic.h
+
4
−
11
View file @
9dd133e8
...
...
@@ -42,14 +42,7 @@ int FUNC##_##N( \
assert(ctx != NULL); \
assert(args != NULL); \
assert(args->cnt == N); \
if(args->out.type.derived == FMPI_TYPE_ARRAY) { \
if(args->out.type.base == FMPI_TYPE_u8) { \
struct futhark_u8_1d ** out = &args->out.start; \
return FMPI_TASK_FUNC_##N(FUNC, ctx->fut->ctx, out, args); \
} \
} else { \
} \
return FMPI_TASK_FUNC_##N(FUNC, ctx->fut->ctx, args->out.start, args); \
return FMPI_TASK_FUNC_##N(FUNC, ctx->fut->ctx, args); \
}
#define FMPI_TASK_REGISTER_IMPL(ctx, func, stencil, ...) \
...
...
@@ -69,11 +62,11 @@ int FUNC##_##N( \
.cnt = CPL_ARG_COUNT(__VA_ARGS__) \
})
#define FMPI_TASK_FUNC_0(func, ctx,
out,
args) \
#define FMPI_TASK_FUNC_0(func, ctx, args) \
futhark_entry_##func(ctx, args->out.start)
#define FMPI_TASK_FUNC_1(func, ctx,
out,
args) \
futhark_entry_##func(ctx,
ou
t, \
#define FMPI_TASK_FUNC_1(func, ctx, args) \
futhark_entry_##func(ctx,
args->out.star
t, \
args->in[00].start \
)
#define FMPI_TASK_FUNC_2(func, ctx, args) \
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment