# 2D Texture Width Limit Question Are Width Limitations in Bytes or Elements

**URL:** <https://forums.developer.nvidia.com/t/2d-texture-width-limit-question-are-width-limitations-in-bytes-or-elements/10902>\
**Category:** CUDA Programming and Performance\
**Created:** [July 15, 2009, 4:51pm UTC](https://forums.developer.nvidia.com/t/2d-texture-width-limit-question-are-width-limitations-in-bytes-or-elements/10902 "2009-07-15T16:51:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xsyourpal](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@xsyourpal](https://forums.developer.nvidia.com/u/xsyourpal)\
**Post date:** [July 15, 2009, 4:51pm UTC](https://forums.developer.nvidia.com/t/2d-texture-width-limit-question-are-width-limitations-in-bytes-or-elements/10902/1 "2009-07-15T16:51:50Z")

</div>

From version 2.2 Prog Guide :: “For two dimensional texture reference bound to CUDA Array the maximum width is 2^16 (64K)”

Is that specification in Bytes Or is it number of elements ? I have a float2 cuda array that fails once the width index goes beyond 8K. I am trying to ascertain that it is due to hardware spec (and not my code).

Thanks.
