Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bake
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
7
Issues
7
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sds
bake
Commits
1dade6a2
Commit
1dade6a2
authored
Mar 28, 2018
by
Matthieu Dorier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
corrected uint8_t to uint16_t provider id
parent
0a35291c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
include/bake-client.h
include/bake-client.h
+2
-2
include/bake-server.h
include/bake-server.h
+3
-3
src/bake-client.c
src/bake-client.c
+2
-2
src/bake-server.c
src/bake-server.c
+1
-1
No files found.
include/bake-client.h
View file @
1dade6a2
...
...
@@ -51,7 +51,7 @@ int bake_client_finalize(bake_client_t client);
*
* @param client client managing the provider handle
* @param addr address of the provider
* @param
mplex_id multiplex
id of the provider
* @param
provider_id
id of the provider
* @param handle resulting handle
*
* @return 0 on success, -1 on failure
...
...
@@ -59,7 +59,7 @@ int bake_client_finalize(bake_client_t client);
int
bake_provider_handle_create
(
bake_client_t
client
,
hg_addr_t
addr
,
uint
8_t
mplex
_id
,
uint
16_t
provider
_id
,
bake_provider_handle_t
*
handle
);
/**
...
...
include/bake-server.h
View file @
1dade6a2
...
...
@@ -16,7 +16,7 @@ extern "C" {
#endif
#define BAKE_ABT_POOL_DEFAULT ABT_POOL_NULL
#define BAKE_
MPLEX
_ID_DEFAULT 0
#define BAKE_
PROVIDER
_ID_DEFAULT 0
#define BAKE_PROVIDER_IGNORE NULL
typedef
struct
bake_server_context_t
*
bake_provider_t
;
...
...
@@ -41,7 +41,7 @@ int bake_makepool(
* Initializes a BAKE provider.
*
* @param[in] mid Margo instance identifier
* @param[in]
mplex_id Multiplex
id
* @param[in]
provider_id provider
id
* @param[in] pool Pool on which to run the RPC handlers
* @param[in] target_name path to PMEM backend file
* @param[out] provider resulting provider
...
...
@@ -49,7 +49,7 @@ int bake_makepool(
*/
int
bake_provider_register
(
margo_instance_id
mid
,
uint
8_t
mplex
_id
,
uint
16_t
provider
_id
,
ABT_pool
pool
,
bake_provider_t
*
provider
);
...
...
src/bake-client.c
View file @
1dade6a2
...
...
@@ -39,7 +39,7 @@ struct bake_client
struct
bake_provider_handle
{
struct
bake_client
*
client
;
hg_addr_t
addr
;
uint
8_t
provider_id
;
uint
16_t
provider_id
;
uint64_t
refcount
;
uint64_t
eager_limit
;
};
...
...
@@ -187,7 +187,7 @@ int bake_probe(
int
bake_provider_handle_create
(
bake_client_t
client
,
hg_addr_t
addr
,
uint
8
_t
provider_id
,
uint
16
_t
provider_id
,
bake_provider_handle_t
*
handle
)
{
if
(
client
==
BAKE_CLIENT_NULL
)
return
-
1
;
...
...
src/bake-server.c
View file @
1dade6a2
...
...
@@ -77,7 +77,7 @@ int bake_makepool(
int
bake_provider_register
(
margo_instance_id
mid
,
uint
8
_t
provider_id
,
uint
16
_t
provider_id
,
ABT_pool
abt_pool
,
bake_provider_t
*
provider
)
{
...
...
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