From 657e65733fb2b30c91c645ffdafa02366f3893b8 Mon Sep 17 00:00:00 2001 From: Ben Sander Date: Sat, 2 Dec 2017 07:44:54 -0600 Subject: [PATCH] Remove coordinate conversions (threadIdx.x -> hipThreadIdx_x) Since these are now supported directly. --- bin/hipify-perl | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/bin/hipify-perl b/bin/hipify-perl index ada017abf4..65e3d26ee0 100755 --- a/bin/hipify-perl +++ b/bin/hipify-perl @@ -309,25 +309,6 @@ while (@ARGV) { $ft{'mem'} += s/\bcudaMallocPitch\b/hipMallocPitch/g; - #-------- - # Coordinate Indexing and Dimensions: - $ft{'coord_func'} += s/\bthreadIdx\.x\b/hipThreadIdx_x/g; - $ft{'coord_func'} += s/\bthreadIdx\.y\b/hipThreadIdx_y/g; - $ft{'coord_func'} += s/\bthreadIdx\.z\b/hipThreadIdx_z/g; - - $ft{'coord_func'} += s/\bblockIdx\.x\b/hipBlockIdx_x/g; - $ft{'coord_func'} += s/\bblockIdx\.y\b/hipBlockIdx_y/g; - $ft{'coord_func'} += s/\bblockIdx\.z\b/hipBlockIdx_z/g; - - $ft{'coord_func'} += s/\bblockDim\.x\b/hipBlockDim_x/g; - $ft{'coord_func'} += s/\bblockDim\.y\b/hipBlockDim_y/g; - $ft{'coord_func'} += s/\bblockDim\.z\b/hipBlockDim_z/g; - - $ft{'coord_func'} += s/\bgridDim\.x\b/hipGridDim_x/g; - $ft{'coord_func'} += s/\bgridDim\.y\b/hipGridDim_y/g; - $ft{'coord_func'} += s/\bgridDim\.z\b/hipGridDim_z/g; - - #-------- # Events $ft{'event'} += s/\bcudaEvent_t\b/hipEvent_t/g;