×

Synchronizing access to resources in a hybrid computing environment

  • US 9,158,594 B2
  • Filed: 06/08/2012
  • Issued: 10/13/2015
  • Est. Priority Date: 01/28/2009
  • Status: Expired due to Fees
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, and a plurality of accelerators having an accelerator architecture, wherein the host computer architecture and the accelerator architecture are different architectures such that computer program instructions compiled for execution on the host computer cannot be executed natively by the plurality of accelerators of the hybrid computing environment, the host computer and the accelerators adapted to one another for data communications by a system level message passing module, the method comprising:

  • attempting, by a process, to access a resource including determining whether a current value of a key in a registry represents an unlocked state for the resource, wherein the registry is accessible by computer program instructions that execute on the host computer architecture and computer program instructions that execute on the accelerator architecture;

    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; and

    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.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×