diff options
| author | Ahmad Alawneh <[email protected]> | 2025-02-15 02:47:41 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-02-14 23:47:41 +0000 |
| commit | c3966b6a8c24f4c64877d5a18335549d3af66d1a (patch) | |
| tree | 8c767d9e6c359092f4c73d36c96cd556d7c72b04 /src/cuda-sim/instructions.cc | |
| parent | 68e1cd30efaecbd71b496822f9d88a5803b33841 (diff) | |
Cuda12 (#94)
* added support to cuda 12, by predicating texuture cache
* format code
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) { |
