mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-04-25 13:30:12 +00:00
parent
efb800557f
commit
6c0d843f9d
@ -592,6 +592,8 @@ void ggml_cuda_cpy(ggml_backend_cuda_context & ctx, const ggml_tensor * src0, gg
|
|||||||
dest_ptrs_d = ctx.cuda_graph->dest_ptrs_d;
|
dest_ptrs_d = ctx.cuda_graph->dest_ptrs_d;
|
||||||
graph_cpynode_index = ctx.cuda_graph->graph_cpynode_index;
|
graph_cpynode_index = ctx.cuda_graph->graph_cpynode_index;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
GGML_UNUSED(disable_indirection_for_this_node);
|
||||||
#endif
|
#endif
|
||||||
if (src0->type == src1->type && ggml_is_contiguous(src0) && ggml_is_contiguous(src1)) {
|
if (src0->type == src1->type && ggml_is_contiguous(src0) && ggml_is_contiguous(src1)) {
|
||||||
GGML_ASSERT(ggml_nbytes(src0) == ggml_nbytes(src1));
|
GGML_ASSERT(ggml_nbytes(src0) == ggml_nbytes(src1));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user