Skip to content

Commit 66317df

Browse files
committed
fixed mbytes conversion
1 parent a8b5f6e commit 66317df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ int main() {
143143
OCL_SAFE_CALL(clGetDeviceInfo(device, CL_DEVICE_GLOBAL_MEM_SIZE, sizeof(cl_ulong),
144144
&deviceGlobalMemorySize, nullptr));
145145

146-
std::cout << " Global Memory (MBytes): " << deviceGlobalMemorySize / 1024 << std::endl;
146+
std::cout << " Global Memory (MBytes): " << deviceGlobalMemorySize / 1024 / 1024 << std::endl;
147147
}
148148

149149
// Device OpenCL Version

0 commit comments

Comments
 (0)