Searched refs:LaneIDBits (Results 1 – 1 of 1) sorted by relevance
2228 unsigned LaneIDBits = Log2_32(Config.getGridValue().GV_Warp_Size); in getNVPTXWarpID() local2229 return Builder.CreateAShr(getGPUThreadID(), LaneIDBits, "nvptx_warp_id"); in getNVPTXWarpID()2233 unsigned LaneIDBits = Log2_32(Config.getGridValue().GV_Warp_Size); in getNVPTXLaneID() local2234 assert(LaneIDBits < 32 && "Invalid LaneIDBits size in NVPTX device."); in getNVPTXLaneID()2235 unsigned LaneIDMask = ~0u >> (32u - LaneIDBits); in getNVPTXLaneID()