https://bugs.llvm.org/show_bug.cgi?id=49787
Bug ID: 49787
Summary: Codegen for calling __tgt_target_teams_nowait_mapper
has too few arguments
Product: OpenMP
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Clang Compiler Support
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
The codegen seems to use:
declare i32 @__tgt_target_teams_nowait_mapper(%struct.ident_t*, i64, i8*, i32,
i8**, i8**, i64*, i64*, i8**, i8**, i32, i32) #3
While openmp/libomptarget/include/omptarget.h has 4 more arguments:
int __tgt_target_teams_nowait_mapper(
ident_t *loc, int64_t device_id, void *host_ptr, int32_t arg_num,
void **args_base, void **args, int64_t *arg_sizes, int64_t *arg_types,
map_var_info_t *arg_names, void **arg_mappers, int32_t num_teams,
int32_t thread_limit, int32_t depNum, void *depList, int32_t noAliasDepNum,
void *noAliasDepList);
clang seems to be not aware of the last 4 arguments (based on comparing the
argument types)
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs