Skip to content

Commit

Permalink
Make: Enable dynamic dispatch in JS
Browse files Browse the repository at this point in the history
  • Loading branch information
ashvardanian committed Oct 14, 2024
1 parent 2406e08 commit a37c74d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@
"targets": [
{
"target_name": "simsimd",
"sources": ["javascript/lib.c"],
"sources": ["javascript/lib.c", "c/lib.c"],
"include_dirs": ["include"],
"defines": ["SIMSIMD_NATIVE_F16=0", "SIMSIMD_NATIVE_BF16=0"],
"defines": [
"SIMSIMD_NATIVE_F16=0",
"SIMSIMD_NATIVE_BF16=0",
"SIMSIMD_DYNAMIC_DISPATCH=1",
],
"cflags": [
"-std=c11",
"-ffast-math",
Expand Down

0 comments on commit a37c74d

Please sign in to comment.