Skip to content

Commit 540987c

Browse files
committed
changed CK_GPGPU_* to CK_COMPUTE_*
1 parent 8c76473 commit 540987c

60 files changed

Lines changed: 75 additions & 75 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

program/polybench-cuda-2dconv/.cm/meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
],
5151
"ignore_return_code": "no",
5252
"run_time": {
53-
"need_gpgpu_device":"cuda",
53+
"need_compute_device":"cuda",
5454
"fine_grain_timer_file": "tmp-ck-timer.json",
5555
"run_cmd_main": "$#BIN_FILE#$ ",
5656
"run_cmd_out1": "tmp-output1.tmp",

program/polybench-cuda-2dconv/2DConvolution.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ void GPU_argv_init()
130130
cudaDeviceProp deviceProp;
131131
error = cudaGetDevice(&devID);
132132

133-
if (getenv("CK_GPGPU_DEVICE_ID")!=NULL) gpgpu_device_id=atol(getenv("CK_GPGPU_DEVICE_ID"));
133+
if (getenv("CK_COMPUTE_DEVICE_ID")!=NULL) gpgpu_device_id=atol(getenv("CK_COMPUTE_DEVICE_ID"));
134134

135135
cudaGetDeviceProperties(&deviceProp, gpgpu_device_id);
136136

program/polybench-cuda-2mm/.cm/meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
],
5252
"ignore_return_code": "no",
5353
"run_time": {
54-
"need_gpgpu_device":"cuda",
54+
"need_compute_device":"cuda",
5555
"fine_grain_timer_file": "tmp-ck-timer.json",
5656
"run_cmd_main": "$#BIN_FILE#$ ",
5757
"run_cmd_out1": "tmp-output1.tmp",

program/polybench-cuda-2mm/2mm.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ void GPU_argv_init()
134134
cudaDeviceProp deviceProp;
135135
error = cudaGetDevice(&devID);
136136

137-
if (getenv("CK_GPGPU_DEVICE_ID")!=NULL) gpgpu_device_id=atol(getenv("CK_GPGPU_DEVICE_ID"));
137+
if (getenv("CK_COMPUTE_DEVICE_ID")!=NULL) gpgpu_device_id=atol(getenv("CK_COMPUTE_DEVICE_ID"));
138138

139139
cudaGetDeviceProperties(&deviceProp, gpgpu_device_id);
140140

program/polybench-cuda-3dconv/.cm/meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
],
5151
"ignore_return_code": "no",
5252
"run_time": {
53-
"need_gpgpu_device":"cuda",
53+
"need_compute_device":"cuda",
5454
"fine_grain_timer_file": "tmp-ck-timer.json",
5555
"run_cmd_main": "$#BIN_FILE#$ ",
5656
"run_cmd_out1": "tmp-output1.tmp",

program/polybench-cuda-3dconv/3DConvolution.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ void GPU_argv_init()
144144
cudaDeviceProp deviceProp;
145145
error = cudaGetDevice(&devID);
146146

147-
if (getenv("CK_GPGPU_DEVICE_ID")!=NULL) gpgpu_device_id=atol(getenv("CK_GPGPU_DEVICE_ID"));
147+
if (getenv("CK_COMPUTE_DEVICE_ID")!=NULL) gpgpu_device_id=atol(getenv("CK_COMPUTE_DEVICE_ID"));
148148

149149
cudaGetDeviceProperties(&deviceProp, gpgpu_device_id);
150150

program/polybench-cuda-3mm/.cm/meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
],
5353
"ignore_return_code": "no",
5454
"run_time": {
55-
"need_gpgpu_device":"cuda",
55+
"need_compute_device":"cuda",
5656
"fine_grain_timer_file": "tmp-ck-timer.json",
5757
"run_cmd_main": "$#BIN_FILE#$ ",
5858
"run_cmd_out1": "tmp-output1.tmp",

program/polybench-cuda-3mm/3mm.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ void GPU_argv_init()
137137
cudaDeviceProp deviceProp;
138138
error = cudaGetDevice(&devID);
139139

140-
if (getenv("CK_GPGPU_DEVICE_ID")!=NULL) gpgpu_device_id=atol(getenv("CK_GPGPU_DEVICE_ID"));
140+
if (getenv("CK_COMPUTE_DEVICE_ID")!=NULL) gpgpu_device_id=atol(getenv("CK_COMPUTE_DEVICE_ID"));
141141

142142
cudaGetDeviceProperties(&deviceProp, gpgpu_device_id);
143143

program/polybench-cuda-atax/.cm/meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
],
5050
"ignore_return_code": "no",
5151
"run_time": {
52-
"need_gpgpu_device":"cuda",
52+
"need_compute_device":"cuda",
5353
"fine_grain_timer_file": "tmp-ck-timer.json",
5454
"run_cmd_main": "$#BIN_FILE#$ ",
5555
"run_cmd_out1": "tmp-output1.tmp",

program/polybench-cuda-atax/atax.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ void GPU_argv_init()
106106
cudaDeviceProp deviceProp;
107107
error = cudaGetDevice(&devID);
108108

109-
if (getenv("CK_GPGPU_DEVICE_ID")!=NULL) gpgpu_device_id=atol(getenv("CK_GPGPU_DEVICE_ID"));
109+
if (getenv("CK_COMPUTE_DEVICE_ID")!=NULL) gpgpu_device_id=atol(getenv("CK_COMPUTE_DEVICE_ID"));
110110

111111
cudaGetDeviceProperties(&deviceProp, gpgpu_device_id);
112112

0 commit comments

Comments
 (0)