Skip to content

Commit 28a2270

Browse files
committed
set the calling convention for the host callback
1 parent 20e06ba commit 28a2270

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

samples/99_hosttask/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ clEnqueueHostTaskEXP_t(
3636
typedef clEnqueueHostTaskEXP_t *
3737
clEnqueueHostTaskEXP_fn ;
3838

39-
void HostTask(void* user_data)
39+
void CL_CALLBACK HostTask(void* user_data)
4040
{
4141
cl_uint count = 2;
4242
if (user_data) {

0 commit comments

Comments
 (0)