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
HeteroFlow
THAPI
Commits
944d2fbf
Commit
944d2fbf
authored
Feb 01, 2021
by
Thomas Applencourt
Browse files
Correct name to dispatcher
parent
c8239003
Changes
3
Show whitespace changes
Inline
Side-by-side
opencl/clinterval.c
View file @
944d2fbf
#include "clinterval.h"
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include <inttypes.h>
#include <string.h>
#include <stdbool.h>
#include <babeltrace2/babeltrace.h>
#include "uthash.h"
...
...
@@ -214,7 +209,7 @@ bt_component_class_initialize_method_status clinterval_dispatch_initialize(
/* Will call clinterval_register_dispatcher */
/* For each dispacther automaticaly generated */
init_clinterval_dispatch
(
dispatch
);
init_clinterval_dispatch
er
(
dispatch
);
/*
clinterval_dispatch -> clinterval_callbacks
...
...
opencl/clinterval.h
View file @
944d2fbf
#pragma once
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include <inttypes.h>
#include <babeltrace2/babeltrace.h>
#include "uthash.h"
#include "utarray.h"
...
...
@@ -21,7 +17,7 @@ struct clinterval_dispatch;
struct
clinterval_callbacks
;
// Implement by `clinterval_dispatchers.c`
extern
void
init_clinterval_dispatch
(
struct
clinterval_dispatch
*
dispatch
);
extern
void
init_clinterval_dispatch
er
(
struct
clinterval_dispatch
*
dispatch
);
// `clinterval_dispatcher_t` is a alias to a function we return void and take those list as arguments
// `Dispacher` are a thin wrapper arround `callbacks`. They unpacks llng-parameters and give back ocl object
...
...
opencl/clinterval_callbacks.cpp.erb
View file @
944d2fbf
#include
<iomanip>
#include
<algorithm>
#include
<iostream>
#include
<unordered_map>
#include
<tuple>
#include
<climits>
#include "clinterval.h"
#include "clinterval_callbacks.hpp"
#include "xprof_utils.hpp"
...
...
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