This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Please get your timing code from | |
https://github.com/hpc12/lec1-demo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define K ${k_group_size} | |
KERNEL | |
REQD_WG_SIZE(WG_SIZE, 1, 1) | |
void ${name_prefix}_scan_intervals( | |
${argument_signature}, | |
GLOBAL_MEM scan_type *partial_scan_buffer, | |
const index_type N, | |
const index_type interval_size |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import OCC.gp as gp | |
import OCC.BRepPrimAPI as brep | |
import OCC.BRepAlgoAPI as brep_alg | |
import OCC.Utils.DataExchange.IGES as iges | |
import OCC.Utils.DataExchange.STEP as step | |
import OCC.Display.SimpleGui as gui | |
objs = [] | |
for x in [0, 21]: | |
ax = gp.gp_Ax2(gp.gp_Pnt(x,0,0), gp.gp_Dir(0,1,0)) |
NewerOlder