Skip to content

Commit 5876222

Browse files
author
KristofferC
committed
add julia half functions to header
1 parent 8e497ad commit 5876222

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/julia_internal.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1439,6 +1439,10 @@ JL_DLLEXPORT jl_array_t *jl_array_copy(jl_array_t *ary);
14391439
JL_DLLEXPORT uintptr_t jl_object_id_(uintptr_t tv, jl_value_t *v) JL_NOTSAFEPOINT;
14401440
JL_DLLEXPORT void jl_set_next_task(jl_task_t *task) JL_NOTSAFEPOINT;
14411441

1442+
JL_DLLEXPORT uint16_t julia_double_to_half(double param) JL_NOTSAFEPOINT;
1443+
JL_DLLEXPORT uint16_t julia_float_to_half(float param) JL_NOTSAFEPOINT;
1444+
JL_DLLEXPORT float julia_half_to_float(uint16_t param) JL_NOTSAFEPOINT;
1445+
14421446
// -- synchronization utilities -- //
14431447

14441448
extern jl_mutex_t typecache_lock;

0 commit comments

Comments
 (0)