Q. If variable a is host variable and dev_a is a device (GPU) variable, to allocate memory to dev_a select correct statement:
β
Correct Answer: (C)
cudamalloc( (void**) &dev_a, sizeof( int ) )
You must be Logged in to update hint/solution
Discussion
Question Analytics
654
Total Visits
3 y ago
Published
Mr. Dubey
Publisher
96%
Success Rate