Fixes jiterator cache macro include + updates CUDA note with cache variables (#71452)
Summary:
Per title.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/71452
Reviewed By: ngimel
Differential Revision: D33646495
Pulled By: mruberry
fbshipit-source-id: bbf627e6d7a724a83a3ea2ae9c0f50430f8d578e
(cherry picked from commit d1e72b144aad9607ce53c477b7edfdce17cfd1c0)