Home
last modified time | relevance | path

Searched refs:RETURN_IF_FALSE (Results 1 – 4 of 4) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/ps/ps_cache/
Dps_cache_manager.cc377 RETURN_IF_FALSE(IncreaseStep()); in ProcessData()
392 RETURN_IF_FALSE(ParseData(batch_ids, batch_ids_len, hash_index.get())); in ProcessData()
401 RETURN_IF_FALSE(HashSwapHostToServer(key, hash_info)); in ProcessData()
402 RETURN_IF_FALSE(HashSwapDeviceToHost(hash_info)); in ProcessData()
403 RETURN_IF_FALSE(HashSwapServerToHost(key, hash_info)); in ProcessData()
404 RETURN_IF_FALSE(HashSwapHostToDevice(hash_info)); in ProcessData()
412 RETURN_IF_FALSE(embedding_device_cache_->cache_->SynchronizeStream()); in ProcessData()
414 RETURN_IF_FALSE(PsDataPrefetch::GetInstance().FinalizeData(channel_name_)); in ProcessData()
523RETURN_IF_FALSE(CheckCacheHitOrOutRange(batch_ids, batch_ids_len, hash_index, in_device.get(), out… in ParseData()
524 RETURN_IF_FALSE(ResetEmbeddingHashMap()); in ParseData()
[all …]
Dps_cache_basic.h24 #define RETURN_IF_FALSE(condition) \ macro
/third_party/mindspore/mindspore/ccsrc/ps/ps_cache/ascend/
Dascend_ps_cache.cc97 RETURN_IF_FALSE(SetProtoInputs(op_info->input_data_shape_, op_info->input_data_type_, &proto)); in SetNodedefProto()
98 RETURN_IF_FALSE(SetProtoOutputs(op_info->output_data_shape_, op_info->output_data_type_, &proto)); in SetNodedefProto()
234 RETURN_IF_FALSE(SetNodedefProto(op_info, hash_swap_out_mod)); in HashSwapOut()
/third_party/python/Python/
Dcompile.c1664 #define RETURN_IF_FALSE(X) \ macro
3917 RETURN_IF_FALSE(unpack_helper(c, elts)); in assignment_helper()
5684 RETURN_IF_FALSE(new_block = compiler_new_block(c)); in ensure_fail_pop()
5697 RETURN_IF_FALSE(ensure_fail_pop(c, pc, pops)); in jump_to_fail_pop()
5788 RETURN_IF_FALSE(pattern_unpack_helper(c, patterns)); in pattern_helper_sequence_unpack()
5797 RETURN_IF_FALSE(compiler_pattern_subpattern(c, pattern, pc)); in pattern_helper_sequence_unpack()
5833 RETURN_IF_FALSE(compiler_pattern_subpattern(c, pattern, pc)); in pattern_helper_sequence_subscr()
5847 RETURN_IF_FALSE(compiler_pattern(c, p, pc)); in compiler_pattern_subpattern()
5871 RETURN_IF_FALSE(compiler_pattern(c, p->v.MatchAs.pattern, pc)); in compiler_pattern_as()
5874 RETURN_IF_FALSE(pattern_helper_store_name(c, p->v.MatchAs.name, pc)); in compiler_pattern_as()
[all …]