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
HeteroFlow
THAPI
Commits
076e061e
Commit
076e061e
authored
Oct 14, 2020
by
Brice Videau
Browse files
Fix offset for header-less export tables.
parent
a5f3afc7
Pipeline
#11609
failed with stage
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
cuda/tracer_cuda_helpers.include.c
View file @
076e061e
...
...
@@ -135,7 +135,7 @@ static const void * _wrap_buggy_export_table(const void *pExportTable, const CUu
for
(
size_t
i
=
0
;
i
<
num_entries
;
i
++
)
{
if
(
entries
[
i
])
_wrap_export
(
entries
[
i
],
(
void
*
)
puuid
,
sizeof
(
size_t
)
+
i
*
sizeof
(
void
*
),
i
*
sizeof
(
void
*
),
new_entries
+
i
,
(
void
**
)((
intptr_t
)
mem
+
i
*
WRAPPER_SIZE
));
else
...
...
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