Unit of "speed" in the platform.getSpeed()

The functionality of OpenMM will (eventually) include everything that one would need to run modern molecular simulation.
POST REPLY
User avatar
Carl Benzer
Posts: 8
Joined: Thu Nov 27, 2008 5:29 am

Unit of "speed" in the platform.getSpeed()

Post by Carl Benzer » Wed Mar 27, 2013 3:57 am

What is the meaning or unit of "speed" in the platform.getSpeed() output?

For a Quadro K5000 I get the following output:

platform = Platform.getPlatformByName('CUDA')
print "Platform: ", platform.getName()
print "Speed: ", platform.getSpeed()
print "Supports double: ", platform.supportsDoublePrecision()

Platform: CUDA
Speed: 100.0
Supports double: True

Looking at the K5000 specifications I couldn't find anything that somewhere near 100.

Thanks
Carl

User avatar
Peter Eastman
Posts: 2546
Joined: Thu Aug 09, 2007 1:25 pm

Re: Unit of "speed" in the platform.getSpeed()

Post by Peter Eastman » Wed Mar 27, 2013 9:34 am

It's a completely arbitrary number. It's just used for selecting the fastest available platform, so the only real significance is that the CUDA platform returns a larger value than the Reference platform.

Peter

User avatar
Carl Benzer
Posts: 8
Joined: Thu Nov 27, 2008 5:29 am

Re: Unit of "speed" in the platform.getSpeed()

Post by Carl Benzer » Wed Mar 27, 2013 12:17 pm

Thanks for the clarification.

POST REPLY