Repurposing GPU Ray Tracing Architecture for Accelerating Irregular Programs