AlexEichenberger added inline comments.
================ Comment at: lib/CodeGen/CGOpenMPRuntime.cpp:610 + // size_t sizeof_shareds, kmp_routine_entry_t *task_entry, + // size_t device_id); + OMPRTL__kmpc_omp_target_task_alloc, ---------------- device_id is int64_t ================ Comment at: lib/CodeGen/CGOpenMPRuntime.cpp:1928 + CGM.SizeTy, CGM.SizeTy, KmpRoutineEntryPtrTy, + CGM.SizeTy}; + // Return void * and then cast to particular kmp_task_t type. ---------------- device_id must be a int64_t type, not a machine dependent quantity. Repository: rC Clang CHANGES SINCE LAST ACTION https://reviews.llvm.org/D63009/new/ https://reviews.llvm.org/D63009 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits