Cody

Problem 1711. Is there a GPU Device?

Solution 2841219

Submitted on 16 Aug 2020 by Rafael S.T. Vieira
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
y_correct = 1; try gpuDevice catch y_correct = 0; end assert(isequal(your_fcn_name(),y_correct))

0

Suggested Problems

More from this Author62

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!