progress on GPUs

not at all complete
This commit is contained in:
2025-06-24 19:25:40 +02:00
parent f3fb794e76
commit d20c59b162
10 changed files with 266 additions and 17 deletions

View File

@@ -43,7 +43,9 @@ size_t nn_unicode_len(const char *s) {
return count;
}
int nn_unicode_codepointAt(const char *s, size_t byteOffset);
int nn_unicode_codepointAt(const char *s, size_t byteOffset) {
return s[byteOffset];
}
size_t nn_unicode_codepointSize(int codepoint) {
if (codepoint <= 0x007f) {