×

Synchronizing access to resources in a hybrid computing environment

  • US 8,255,909 B2
  • Filed: 01/28/2009
  • Issued: 08/28/2012
  • Est. Priority Date: 01/28/2009
  • Status: Active Grant
First Claim
Patent Images

1. A method of synchronizing access to resources in a hybrid computing environment, the hybrid computing environment comprising a host computer having a host computer architecture, a plurality of accelerators having an accelerator architecture, the accelerator architecture optimized, with respect to the host computer architecture, for speed of execution of a particular class of computing functions, the host computer and the accelerators adapted to one another for data communications by a system level message passing module, the method comprising:

  • providing in a registry, by the system level messaging passing module to processes executing on the accelerators and the host computer, a key associated with a resource accessible by each of the processes, the key having a value that represents access permissions for the resource;

    attempting, by a process, to access the resource including determining whether a current value of the key in the registry represents an unlocked state for the resource;

    if the current value of the key in the registry represents an unlocked state for the resource, attempting, by the process, to lock access to the resource including setting the value of the key to a unique identification of the process attempting to access the resource;

    determining, by the process, whether the current value of the key is the unique identification of the process attempting to access the resource;

    if the current value of the key is the unique identification of the process attempting to access the resource, accessing the resource by the process; and

    if the current value of the key is not the unique identification of the process attempting to access the resource, the process is not currently authorized to access the resource.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×