Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Xin Wang
codes-dev
Commits
cafa11b9
Commit
cafa11b9
authored
Aug 31, 2015
by
Jonathan Jenkins
Browse files
update to ross interface change
parent
adcef650
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/util/codes_mapping.c
View file @
cafa11b9
...
@@ -540,7 +540,7 @@ void codes_mapping_setup_with_seed_offset(int offset)
...
@@ -540,7 +540,7 @@ void codes_mapping_setup_with_seed_offset(int offset)
// last one
// last one
g_tw_nRNG_per_lp
++
;
g_tw_nRNG_per_lp
++
;
tw_define_lps
(
codes_mapping_get_lps_for_pe
(),
message_size
,
0
);
tw_define_lps
(
codes_mapping_get_lps_for_pe
(),
message_size
);
// use a similar computation to codes_mapping_init to compute the lpids and
// use a similar computation to codes_mapping_init to compute the lpids and
// offsets to use in tw_rand_initial_seed
// offsets to use in tw_rand_initial_seed
...
...
tests/lp-io-test.c
View file @
cafa11b9
...
@@ -110,7 +110,7 @@ int main(
...
@@ -110,7 +110,7 @@ int main(
lps_per_proc
=
(
NUM_SERVERS
)
/
nprocs
;
lps_per_proc
=
(
NUM_SERVERS
)
/
nprocs
;
tw_define_lps
(
lps_per_proc
,
sizeof
(
struct
svr_msg
)
,
0
);
tw_define_lps
(
lps_per_proc
,
sizeof
(
struct
svr_msg
));
for
(
i
=
0
;
i
<
lps_per_proc
;
i
++
)
for
(
i
=
0
;
i
<
lps_per_proc
;
i
++
)
{
{
...
...
tests/workload/codes-workload-test.c
View file @
cafa11b9
...
@@ -86,7 +86,7 @@ int main(
...
@@ -86,7 +86,7 @@ int main(
configuration_load
(
argv
[
2
],
MPI_COMM_WORLD
,
&
config
);
configuration_load
(
argv
[
2
],
MPI_COMM_WORLD
,
&
config
);
tw_define_lps
(
lps_per_proc
,
512
,
0
);
tw_define_lps
(
lps_per_proc
,
512
);
for
(
i
=
0
;
i
<
lps_per_proc
;
i
++
)
for
(
i
=
0
;
i
<
lps_per_proc
;
i
++
)
{
{
...
...
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