Skip to content

Commit 4d5a076

Browse files
committed
fix runtime_test
1 parent 280cad7 commit 4d5a076

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/runtime_test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ int main(int argc, char* argv[]) {
6969

7070
int32_t a0 = 42;
7171
uint64_t a1 = get_buffer_device_pointer(buffer);
72-
wait_completion(launch_kernel(program, device, "my_kernel", 1, 1, 1, 2, (void*[]) { &a0, &a1 }));
72+
wait_completion(launch_kernel(program, device, args.driver_config.config.specialization.entry_point ? args.driver_config.config.specialization.entry_point : "my_kernel", 1, 1, 1, 2, (void*[]) { &a0, &a1 }));
7373

7474
destroy_buffer(buffer);
7575

0 commit comments

Comments
 (0)