# How to run devicequery

**URL:** <https://forums.developer.nvidia.com/t/how-to-run-devicequery/54624>\
**Category:** CUDA Programming and Performance\
**Created:** [October 29, 2017, 6:51am UTC](https://forums.developer.nvidia.com/t/how-to-run-devicequery/54624 "2017-10-29T06:51:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vishal.dani](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@vishal.dani](https://forums.developer.nvidia.com/u/vishal.dani)\
**Post date:** [October 29, 2017, 6:51am UTC](https://forums.developer.nvidia.com/t/how-to-run-devicequery/54624/1 "2017-10-29T06:51:09Z")

</div>

Hello,

I am new to GPU learning studying in 3rd year of C.E

We have got assignment about GPU which we use.

I just cannot figure out how can i run device query. I have geforce gt 730 on my pc.

Thanks for any help i get over here.

---

<div class="post-metadata">

**Author:** ![Robert\_Crovella](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/robert_crovella/32/14043_2.png) [@Robert\_Crovella](https://forums.developer.nvidia.com/u/Robert_Crovella)\
**Post date:** [October 29, 2017, 1:43pm UTC](https://forums.developer.nvidia.com/t/how-to-run-devicequery/54624/2 "2017-10-29T13:43:12Z")

</div>

take a look at the CUDA install guide for your OS:

for example, for linux:

[url][Installation Guide Linux :: CUDA Toolkit Documentation](http://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#recommended-post%5B/url%5D)

or windows:

[url][Installation Guide Windows :: CUDA Toolkit Documentation](http://docs.nvidia.com/cuda/cuda-installation-guide-microsoft-windows/index.html#compiling-sample-projects%5B/url%5D)

---

<div class="post-metadata">

**Author:** ![vivek.mangipudi13](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@vivek.mangipudi13](https://forums.developer.nvidia.com/u/vivek.mangipudi13)\
**Post date:** [February 19, 2018, 4:10am UTC](https://forums.developer.nvidia.com/t/how-to-run-devicequery/54624/3 "2018-02-19T04:10:02Z")

</div>

first you have to do ‘make’ and then after that the binary will be compiled.  
After compilation you can do  
`./deviceQuery`

---

<div class="post-metadata">

**Author:** ![m-naumann](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@m-naumann](https://forums.developer.nvidia.com/u/m-naumann)\
**Post date:** [April 1, 2025, 8:25am UTC](https://forums.developer.nvidia.com/t/how-to-run-devicequery/54624/4 "2025-04-01T08:25:06Z")

</div>

Since this seems still relevant and viewed a lot: If you are not a privileged user, you can also just use this repo: [GitHub - NVIDIA/cuda-samples: Samples for CUDA Developers which demonstrates features in CUDA Toolkit](https://github.com/NVIDIA/cuda-samples)

1. Clone the repo
2. Checkout the tag corresponding to your nvcc version (cf. [Releases · NVIDIA/cuda-samples · GitHub](https://github.com/NVIDIA/cuda-samples/releases))
3. Follow the readme to make the binary (it differs depending on the CUDA version).

Only took 2 min for me.
