diff options
| author | Tim Rogers <[email protected]> | 2025-02-15 10:50:13 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-02-15 10:50:13 -0500 |
| commit | 8172d40b8e3dfa78a1cb352dd0a34457cc9ac1db (patch) | |
| tree | dc0324f4f5c20b722aa5017b59c3d33e53eafe46 /src/cuda-sim/instructions.cc | |
| parent | 68e1cd30efaecbd71b496822f9d88a5803b33841 (diff) | |
| parent | 6658752120a6d82c00124cd718d29d6dff601caa (diff) | |
Merge pull request #316 from accel-sim/dev
Support for CUDA 12.x and Ubuntu 24
Diffstat (limited to 'src/cuda-sim/instructions.cc')
| -rw-r--r-- | src/cuda-sim/instructions.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cuda-sim/instructions.cc b/src/cuda-sim/instructions.cc index 843bf0b..8bc19d3 100644 --- a/src/cuda-sim/instructions.cc +++ b/src/cuda-sim/instructions.cc @@ -6046,6 +6046,7 @@ void textureNormalizeOutput(const struct cudaChannelFormatDesc &desc, } void tex_impl(const ptx_instruction *pI, ptx_thread_info *thread) { +#if (CUDART_VERSION <= 1200) unsigned dimension = pI->dimension(); const operand_info &dst = pI->dst(); // the registers to which fetched texel will be placed @@ -6373,6 +6374,7 @@ void tex_impl(const ptx_instruction *pI, ptx_thread_info *thread) { } thread->set_vector_operand_values(dst, data1, data2, data3, data4); +#endif } void txq_impl(const ptx_instruction *pI, ptx_thread_info *thread) { |
