/* * registerFunctions - This function registers your transpose * functions with the driver. At runtime, the driver will * evaluate each of the registered functions and summarize their * performance. This is a handy way to experiment with different * transpose strategies. */ void registerFunctions() { /* Register your solution function */ registerTransFunction(transpose_submit, transpose_submit_desc); /* Register any additional transpose functions */ registerTransFunction(trans, trans_desc); }
// This function registers all the transpose functions you define // with the driver void registerFunctions(){ // Format: // registerTransFunction( function_name, function_description ); registerTransFunction( doNothing, doNothing_desc); registerTransFunction( trans, trans_desc); registerTransFunction( transpose_submit, transpose_submit_desc); //Following the above two examples, please register the transpose functions //you you want to test. }
/* * registerFunctions - This function registers your transpose * functions with the driver. At runtime, the driver will * evaluate each of the registered functions and summarize their * performance. This is a handy way to experiment with different * transpose strategies. */ void registerFunctions() { /* Register your solution function */ registerTransFunction(transpose_submit, transpose_submit_desc); /* Register any additional transpose functions */ registerTransFunction(trans, trans_desc); registerTransFunction(basicBlockingTrans, basicBlockingTrans_desc); registerTransFunction(optimizedBlockingTrans, optimizedBlockingTrans_desc); }
/* * registerFunctions - This function registers your transpose * functions with the driver. At runtime, the driver will * evaluate each of the registered functions and summarize their * performance. This is a handy way to experiment with different * transpose strategies. */ void registerFunctions() { /* Register your solution function */ registerTransFunction(transpose_submit, transpose_submit_desc); /* Register any additional transpose functions */ registerTransFunction(trans, trans_desc); registerTransFunction(trans_one, trans_one_desc); registerTransFunction(trans_rect, trans_rect_desc); // registerTransFunction(manip_bot, manip_bot_desc); registerTransFunction(trans_simp, trans_simp_desc); }
/* * registerFunctions - This function registers your transpose * functions with the driver. At runtime, the driver will * evaluate each of the registered functions and summarize their * performance. This is a handy way to experiment with different * transpose strategies. */ void registerFunctions() { /* Register your solution function */ registerTransFunction(transpose_submit, transpose_submit_desc); /* Register any additional transpose functions */ /*registerTransFunction(transBlocking16, transBlocking16_desc); registerTransFunction(transBlocking8, transBlocking8_desc); registerTransFunction(transBlocking4, transBlocking4_desc); registerTransFunction(transBlocking2, transBlocking2_desc); registerTransFunction(transBlocking16_2, transBlocking16_2_desc); registerTransFunction(transBlocking3, transBlocking3_desc);*/ registerTransFunction(trans, trans_desc); }
/* * registerFunctions - This function registers your transpose * functions with the driver. At runtime, the driver will * evaluate each of the registered functions and summarize their * performance. This is a handy way to experiment with different * transpose strategies. */ void registerFunctions() { /* Register your solution function */ registerTransFunction(transpose_submit, transpose_submit_desc); }