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
648
Total Visits
2 y ago
Published
Mr. Dubey
Publisher
97%
Success Rate