Skip to content

Conversation

@ds5678
Copy link
Contributor

@ds5678 ds5678 commented Nov 21, 2025

All the other functions with an allocator use size_t. In addition, the sz variable in the implementation is size_t, and the p/invoke method in LibTorchSharp.THSJIT.cs uses the same delegate as the others.

@ds5678 ds5678 force-pushed the fix-jit-tensortype-sizes-signature branch from 0cd9037 to 0c8e276 Compare December 23, 2025 00:36
All the other functions with an allocator use size_t. In addition, the `sz` variable in the implementation is `size_t`, and the p/invoke method in `LibTorchSharp.THSJIT.cs` uses the same delegate as the others.
@ds5678 ds5678 force-pushed the fix-jit-tensortype-sizes-signature branch from 0c8e276 to de6c2b0 Compare February 9, 2026 18:22
@alinpahontu2912 alinpahontu2912 self-requested a review February 11, 2026 09:26
@alinpahontu2912 alinpahontu2912 merged commit d422728 into dotnet:main Feb 11, 2026
2 checks passed
@ds5678 ds5678 deleted the fix-jit-tensortype-sizes-signature branch February 11, 2026 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants