#NEWLINE# @ lower ( stubs . get_group_id , types . uint32 ) #NEWLINE# def get_group_id_impl( context , builder , sig , args ) : #NEWLINE# #INDENT# [ dim ] = args #NEWLINE# get_group_id = _declare_function ( context , builder , 'get_group_id' , sig , [ 'unsigned int' ] ) #NEWLINE# res = builder . call ( get_group_id , [ dim ] ) #NEWLINE# return context . cast ( builder , res , types . uintp , types . intp )