@@ -220,23 +220,23 @@ describe('Program', async () => {
220220 cl . releaseProgram ( prg ) ;
221221 } ) ;
222222
223- it ( 'links one program and calls the callback' , ( t , done ) => {
224- const cb : cl . TBuildProgramCb = ( prg , userData ) => {
225- assert . ok ( prg ) ;
226- assert . strictEqual ( ( userData as { done : ( ) => void } ) . done , done ) ;
223+ // it('links one program and calls the callback', (t, done) => {
224+ // const cb: cl.TBuildProgramCb = (prg, userData) => {
225+ // assert.ok(prg);
226+ // assert.strictEqual((userData as { done: () => void }).done, done);
227227
228- cl . releaseProgram ( prg ) ;
229- done ( ) ;
230- } ;
228+ // cl.releaseProgram(prg);
229+ // done();
230+ // };
231231
232- const prg = cl . createProgramWithSource ( context , squareKern ) ;
233- cl . compileProgram ( prg ) ;
232+ // const prg = cl.createProgramWithSource(context, squareKern);
233+ // cl.compileProgram(prg);
234234
235- const nprg = cl . linkProgram ( context , null , null , [ prg ] , cb , { done, prg } ) ;
235+ // const nprg = cl.linkProgram(context, null, null, [prg], cb, { done, prg });
236236
237- cl . releaseProgram ( prg ) ;
238- cl . releaseProgram ( nprg ) ;
239- } ) ;
237+ // cl.releaseProgram(prg);
238+ // cl.releaseProgram(nprg);
239+ // });
240240
241241 it ( 'links one compiled program with a list of devices' , ( ) => {
242242 const prg = cl . createProgramWithSource ( context , squareKern ) ;
0 commit comments