Nasdaq gains more than 1% as Nvidia jumps; investors await Jackson Hole meet