---
id: pr-pytorch-150705
repo: pytorch/pytorch
pr: 150705
title: '[CUDA] Only use vec128 if CUDA version is newer than 12.8'
author: malfet
date: '2025-04-04'
url: https://github.com/pytorch/pytorch/pull/150705
source_category: upstream-code
architectures:
- sm100
- sm90
tags:
- cuda-cpp
techniques:
- vectorized-loads
hardware_features: []
kernel_types: []
languages:
- cuda-cpp
captured_at: 2026-04-17
status: closed
merge_sha: 8639c37865c3bd361e1cbee78f3f7b72d8457ed5
inclusion_reason: manually curated, Blackwell kernel relevance
changed_paths:
- aten/src/ATen/native/cuda/CUDALoops.cuh
- aten/src/ATen/native/cuda/Dropout.cu
- aten/src/ATen/native/cuda/MemoryAccess.cuh
- aten/src/ATen/native/cuda/thread_constants.h
- aten/src/ATen/test/cuda_vectorized_test.cu
head_ref_oid: 482e98a511a4c3db1d1bcd1b5299fcb70b80254b
artifact_dir: evidence/pull-bundles/pytorch/gh-150705
---
# [CUDA] Only use vec128 if CUDA version is newer than 12.8

- Repository: `pytorch/pytorch`
- PR: [150705](https://github.com/pytorch/pytorch/pull/150705)
- Decision: `manually curated, Blackwell kernel relevance`
- Reason: manually curated, Blackwell kernel relevance

## Changed Paths

- `aten/src/ATen/native/cuda/CUDALoops.cuh`
- `aten/src/ATen/native/cuda/Dropout.cu`
- `aten/src/ATen/native/cuda/MemoryAccess.cuh`
- `aten/src/ATen/native/cuda/thread_constants.h`
- `aten/src/ATen/test/cuda_vectorized_test.cu`

## Evidence Bundle

`evidence/pull-bundles/pytorch/gh-150705`
