Skip to content

Commit

Permalink
have activelaneid_u32 call ockl_activelane_u32
Browse files Browse the repository at this point in the history
  • Loading branch information
David Salinas committed Feb 1, 2019
1 parent 4a7e1b7 commit f74a870
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion include/hc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2817,7 +2817,11 @@ extern "C" inline __attribute((always_inline)) std::uint64_t __cycle_u64() __HC_
*
* @return The result will be in the range 0 to WAVESIZE - 1.
*/
extern "C" unsigned int __activelaneid_u32() __HC__;
extern "C" __attribute__((always_inline))
unsigned int __ockl_activelane_u32(void);
extern "C" unsigned int __activelaneid_u32() __HC__ {
return __ockl_activelane_u32();
}

/**
* Return a bit mask shows which active work-items in the
Expand Down

0 comments on commit f74a870

Please sign in to comment.