@@ -343,12 +343,12 @@ def test_create_kernel_bundle_with_composite_spec_const():
343343
344344
345345def test_specialization_constant_addressof_ref ():
346- sp = dpctl_prog .SpecializationConstant (0 , "i4" , 42 )
346+ sp = dpc .SpecializationConstant (0 , "i4" , 42 )
347347 ref = sp .addressof_ref ()
348348 assert type (ref ) is int
349349 assert ref != 0
350350
351- sp2 = dpctl_prog .SpecializationConstant (1 , "f4" , 3.14 )
351+ sp2 = dpc .SpecializationConstant (1 , "f4" , 3.14 )
352352 ref2 = sp2 .addressof_ref ()
353353 assert type (ref2 ) is int
354354 assert ref2 != 0
@@ -402,10 +402,10 @@ def test_spirv_specializations_parser_invalid_spirv():
402402
403403
404404def test_spec_const_equality ():
405- sp1 = dpctl_prog .SpecializationConstant (0 , "i4" , 42 )
406- sp2 = dpctl_prog .SpecializationConstant (0 , "i4" , 42 )
407- sp3 = dpctl_prog .SpecializationConstant (1 , "i4" , 42 )
408- sp4 = dpctl_prog .SpecializationConstant (0 , "f4" , 42.0 )
405+ sp1 = dpc .SpecializationConstant (0 , "i4" , 42 )
406+ sp2 = dpc .SpecializationConstant (0 , "i4" , 42 )
407+ sp3 = dpc .SpecializationConstant (1 , "i4" , 42 )
408+ sp4 = dpc .SpecializationConstant (0 , "f4" , 42.0 )
409409
410410 assert sp1 == sp2
411411 assert sp1 != sp3
0 commit comments