HomePhabricator

[libomptarget][nvptx] Reduce calls to cuda header

Authored by JonChesterfield on Jan 14 2021, 6:16 PM.

Description

[libomptarget][nvptx] Reduce calls to cuda header

[libomptarget][nvptx] Reduce calls to cuda header

Remove use of clock_t in favour of a builtin. Drop a preprocessor branch.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D94731

Details