From 6706f67febc8fb234630986894df67fd948970ac Mon Sep 17 00:00:00 2001 From: Stan Seibert Date: Mon, 28 Jan 2013 21:03:00 -0500 Subject: Remove unused function to read a word bypassing L1 cache. Seems to be incorrect asm syntax. --- chroma/cuda/geometry.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/chroma/cuda/geometry.h b/chroma/cuda/geometry.h index 6a930e7..c81d9b9 100644 --- a/chroma/cuda/geometry.h +++ b/chroma/cuda/geometry.h @@ -10,15 +10,6 @@ to_float3(const uint3 &a) return make_float3(a.x, a.y, a.z); } -__device__ uint4 read_skip_l1(uint4 *ptr) -{ - uint4 val; - asm(" ld.cg.v4.u32 {%0, %1, %2, %3}, [%4];" - : "=r"(val.x), "=r"(val.y), "=r"(val.z), "=r"(val.w) - : "l"(ptr) : "memory"); - return val; -} - __device__ uint4 get_packed_node(Geometry *geometry, const unsigned int &i) { -- cgit