Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Chameleon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
solverstack
Chameleon
Commits
e0ff859f
Commit
e0ff859f
authored
1 week ago
by
LISITO Alycia
Browse files
Options
Downloads
Patches
Plain Diff
chameleon_starpu_internal: Use dynamic handles in task insert
parent
62939a5a
No related branches found
Branches containing commit
No related tags found
1 merge request
!523
Restructuration of the codelets getrf and getrf_nopiv
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
runtime/starpu/include/chameleon_starpu_internal.h
+5
-0
5 additions, 0 deletions
runtime/starpu/include/chameleon_starpu_internal.h
with
5 additions
and
0 deletions
runtime/starpu/include/chameleon_starpu_internal.h
+
5
−
0
View file @
e0ff859f
...
@@ -447,6 +447,7 @@ starpu_cham_task_set_options( const RUNTIME_option_t *options,
...
@@ -447,6 +447,7 @@ starpu_cham_task_set_options( const RUNTIME_option_t *options,
struct
starpu_data_descr
*
descrs
,
struct
starpu_data_descr
*
descrs
,
callback_fct_t
callback
)
callback_fct_t
callback
)
{
{
int
allocated_buffers
=
0
;
int
i
;
int
i
;
task
->
priority
=
options
->
priority
;
task
->
priority
=
options
->
priority
;
...
@@ -473,6 +474,10 @@ starpu_cham_task_set_options( const RUNTIME_option_t *options,
...
@@ -473,6 +474,10 @@ starpu_cham_task_set_options( const RUNTIME_option_t *options,
// task->where; /* Do restriction here */
// task->where; /* Do restriction here */
task
->
nbuffers
=
nbdata
;
task
->
nbuffers
=
nbdata
;
/* Dynamic handles */
starpu_task_insert_data_make_room
(
task
->
cl
,
task
,
&
allocated_buffers
,
0
,
task
->
nbuffers
);
for
(
i
=
0
;
i
<
task
->
nbuffers
;
i
++
)
{
for
(
i
=
0
;
i
<
task
->
nbuffers
;
i
++
)
{
enum
starpu_data_access_mode
mode
=
descrs
[
i
].
mode
;
enum
starpu_data_access_mode
mode
=
descrs
[
i
].
mode
;
assert
(
descrs
[
i
].
handle
);
assert
(
descrs
[
i
].
handle
);
...
...
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