In purely HIV-associated dementia, subcortical pathologic changes result when infected macrophages or microglial cells infiltrate into the deep gray matter (ie, basal ganglia, thalamus) and white matter.