Patent ID: 9158594
Filing Date: 2015-10-13
Classification: G06F

Abstract:
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.