Skip to content

Commit 3f27977

Browse files
Merge branch 'master' into rc
2 parents 6a8c16b + 9a9989d commit 3f27977

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

runtime/realm/cuda/cuda_internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ namespace Realm {
739739
};
740740
std::vector<CudaIpcMapping> cudaipc_mappings;
741741
std::map<NodeID, GPUStream *> cudaipc_streams;
742-
742+
Mutex alloc_mutex;
743743
const CudaIpcMapping *find_ipc_mapping(Memory mem) const;
744744

745745
#ifdef REALM_USE_CUDART_HIJACK

runtime/realm/cuda/cuda_module.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3608,6 +3608,7 @@ namespace Realm {
36083608

36093609
GPUAllocation &GPU::add_allocation(GPUAllocation &&alloc)
36103610
{
3611+
AutoLock<> al(alloc_mutex);
36113612
assert(((!!alloc) && (alloc.get_dptr() != 0)) && "Given allocation is not valid!");
36123613
return allocations.emplace(std::make_pair(alloc.get_dptr(), std::move(alloc)))
36133614
.first->second;

test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ def run_test_external2(launcher, root_dir, tmp_dir, bin_dir, env, thread_count,
511511
# clone_github('stanfordhpccenter', 'HTR-solver', htr_dir, tmp_dir)
512512
# NOTE: the legion-ci branch currently requires g++ (not clang) to build and
513513
# is REALLY slow unless you set DEBUG=0
514-
cmd(['git', 'clone', '-b', 'feature/newLegionPoints', '[email protected]:insieme1/htr/htr-solver.git', htr_dir])
514+
cmd(['git', 'clone', '-b', 'legion-ci', '[email protected]:insieme1/htr/htr-solver.git', htr_dir])
515515
htr_env = dict(list(env.items()) + [
516516
('LEGION_DIR', root_dir),
517517
('LD_LIBRARY_PATH', '%s:%s' % (env.get('LD_LIBRARY_PATH', ''), os.path.join(root_dir, 'bindings', 'regent'))),

0 commit comments

Comments
 (0)