summaryrefslogtreecommitdiff
path: root/src/abstract_hardware_model.h
diff options
context:
space:
mode:
authorWilson Fung <[email protected]>2012-09-04 01:30:56 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:48:54 -0700
commitdb8175181856355bd6d376b77733f85f06f852d6 (patch)
tree03654311dc05f5dcb3ed5309bc1e4468b0aa1870 /src/abstract_hardware_model.h
parent73ea99a28b77c2601b19dd5574a2cb267859cbd7 (diff)
Fixing texture fetching for 1D texture with non-normalized coordinates: Adding support for the floating point input coordinate, and handling of out-of-bound coordinates.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 13959]
Diffstat (limited to 'src/abstract_hardware_model.h')
-rw-r--r--src/abstract_hardware_model.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/abstract_hardware_model.h b/src/abstract_hardware_model.h
index b6a4111..8a08501 100644
--- a/src/abstract_hardware_model.h
+++ b/src/abstract_hardware_model.h
@@ -312,7 +312,7 @@ enum cudaTextureReadMode {
struct textureReference {
int normalized;
enum cudaTextureFilterMode filterMode;
- enum cudaTextureAddressMode addressMode[2];
+ enum cudaTextureAddressMode addressMode[3];
struct cudaChannelFormatDesc channelDesc;
};