Skip to content

Commit

Permalink
Fix two obvious issues. But there are more.
Browse files Browse the repository at this point in the history
  • Loading branch information
liuliu committed Nov 21, 2022
1 parent 0bb280e commit cc6f589
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/nnc/ccv_nnc_symbolic_graph_compile.c
Original file line number Diff line number Diff line change
Expand Up @@ -1132,6 +1132,7 @@ static inline void* _ccv_nnc_tensor_arena_obj_create(khash_t(obj_ptr)* obj_ptr_m
.obj = obj
};
ccv_array_push(objs, &obj_track);
return obj;
}
}
#endif
Expand Down
2 changes: 1 addition & 1 deletion lib/nnc/mps/ccv_nnc_mps.m
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ void mpobjfree(int device, void* ptr)

void mpobjmakealiasable(void* ptr)
{
id<MTLBuffer> buffer = (id<MTLBuffer>)buffer;
id<MTLBuffer> buffer = (id<MTLBuffer>)ptr;
[buffer makeAliasable];
}

Expand Down

0 comments on commit cc6f589

Please sign in to comment.