Only compile static tests for ptx if HL_TARGET includes ptx or cuda