├── FPGA_Developer_AMI_Build_Recipe_AL2 ├── README.md ├── ansible │ └── xilinx_playbook.yaml ├── files │ └── .gitignore ├── images │ ├── AWS_Classroom.png │ ├── AWS_Credentials_1.png │ └── Console_AMI.png └── packer_xilinx_template.json ├── LICENSE ├── NYC_Summit18_Developer_Workshop ├── .metadata │ ├── .lock │ ├── .log │ ├── .plugins │ │ ├── com.xilinx.sdsoc.ui │ │ │ └── dialog_settings.xml │ │ ├── org.eclipse.cdt.core │ │ │ ├── .log │ │ │ ├── IDCT.1510010508909.pdom │ │ │ └── language.settings.xml │ │ ├── org.eclipse.cdt.make.core │ │ │ ├── specs.c │ │ │ └── specs.cpp │ │ ├── org.eclipse.cdt.managedbuilder.core │ │ │ └── spec.c │ │ ├── org.eclipse.cdt.ui │ │ │ └── dialog_settings.xml │ │ ├── org.eclipse.core.resources │ │ │ ├── .projects │ │ │ │ ├── IDCT │ │ │ │ │ └── .indexes │ │ │ │ │ │ └── properties.index │ │ │ │ └── RemoteSystemsTempFiles │ │ │ │ │ └── .gitkeep │ │ │ ├── .root │ │ │ │ ├── .indexes │ │ │ │ │ ├── history.version │ │ │ │ │ ├── properties.index │ │ │ │ │ └── properties.version │ │ │ │ └── 1.tree │ │ │ └── .safetable │ │ │ │ └── org.eclipse.core.resources │ │ ├── org.eclipse.core.runtime │ │ │ └── .settings │ │ │ │ ├── com.xilinx.sdk.utils.prefs │ │ │ │ ├── org.eclipse.cdt.core.prj-IDCT.prefs │ │ │ │ ├── org.eclipse.cdt.debug.core.prefs │ │ │ │ ├── org.eclipse.cdt.managedbuilder.core.prefs │ │ │ │ ├── org.eclipse.cdt.ui.prefs │ │ │ │ ├── org.eclipse.core.resources.prefs │ │ │ │ ├── org.eclipse.debug.core.prefs │ │ │ │ ├── org.eclipse.debug.ui.prefs │ │ │ │ ├── org.eclipse.jdt.ui.prefs │ │ │ │ ├── org.eclipse.rse.core.prefs │ │ │ │ ├── org.eclipse.rse.ui.prefs │ │ │ │ ├── org.eclipse.ui.ide.prefs │ │ │ │ ├── org.eclipse.ui.prefs │ │ │ │ └── org.eclipse.ui.workbench.prefs │ │ ├── org.eclipse.debug.core │ │ │ └── .launches │ │ │ │ ├── IDCT-Default.launch │ │ │ │ └── IDCT-TCF.launch │ │ ├── org.eclipse.debug.ui │ │ │ ├── dialog_settings.xml │ │ │ └── launchConfigurationHistory.xml │ │ ├── org.eclipse.dltk.core │ │ │ └── Containers.dat │ │ ├── org.eclipse.e4.workbench │ │ │ └── workbench.xmi │ │ ├── org.eclipse.jdt.core │ │ │ ├── assumedExternalFilesCache │ │ │ ├── externalFilesCache │ │ │ ├── nonChainingJarsCache │ │ │ └── variablesAndContainers.dat │ │ ├── org.eclipse.jdt.ui │ │ │ ├── OpenTypeHistory.xml │ │ │ └── QualifiedTypeNameHistory.xml │ │ ├── org.eclipse.pde.core │ │ │ └── .cache │ │ │ │ └── clean-cache.properties │ │ ├── org.eclipse.rse.core │ │ │ ├── .log │ │ │ ├── initializerMarks │ │ │ │ └── org.eclipse.rse.internal.core.RSELocalConnectionInitializer.mark │ │ │ └── profiles │ │ │ │ └── PRF.ip-172-31-90-94_0 │ │ │ │ ├── FP.local.files_0 │ │ │ │ └── node.properties │ │ │ │ ├── H.local_16 │ │ │ │ └── node.properties │ │ │ │ └── node.properties │ │ ├── org.eclipse.rse.ui │ │ │ └── .log │ │ ├── org.eclipse.tcf.debug │ │ │ └── peers.ini │ │ └── org.eclipse.ui.workbench │ │ │ ├── dialog_settings.xml │ │ │ └── workingsets.xml │ └── version.ini ├── BLACK_SCHOLES_Lab.md ├── IDCT_Lab.md ├── README.md ├── SETUP.md ├── WRAP_UP.md ├── helloworld_ocl │ ├── Makefile │ ├── sdaccel.ini │ ├── src │ │ ├── host.cpp │ │ └── vector_addition.cl │ └── xclbin │ │ └── vector_addition.hw.xilinx_aws-vu9p-f1-04261818_dynamic_5_0.awsxclbin ├── idct │ ├── Makefile │ ├── README.md │ ├── description.json │ ├── sdaccel.ini │ ├── src │ │ ├── hls_config.tcl │ │ ├── idct.cpp │ │ └── krnl_idct.cpp │ ├── utils.mk │ └── xclbin │ │ ├── krnl_idct.hw.xilinx_aws-vu9p-f1-04261818_dynamic_5_0.awsxclbin │ │ └── krnl_idct_afi_id.txt ├── images │ ├── idct_lab │ │ ├── BuildButton.PNG │ │ ├── EndHLSReport.PNG │ │ ├── EndProfileSummary.PNG │ │ ├── HLSReport.PNG │ │ ├── HWProfile.PNG │ │ ├── LatencyKrnlIdctDataflow2.PNG │ │ ├── LatencyKrnlIdctDataflow3.PNG │ │ ├── OutlineKrnl.PNG │ │ ├── ProfileSummaryComp.PNG │ │ ├── Reports.PNG │ │ ├── RunButton.PNG │ │ ├── SDxWindows.PNG │ │ ├── SWProfile.PNG │ │ ├── SWTimeline.PNG │ │ ├── WorkspaceSetup.PNG │ │ ├── ZoomApplicationTimeline.PNG │ │ └── ZoomApplicationTimelineEnd.PNG │ ├── introduction │ │ └── f1_platform.png │ └── setup_lab │ │ ├── Continue_to_Launch.png │ │ ├── Continue_to_Subscribe.png │ │ ├── Continue_to_configuration.png │ │ ├── Instance_type.png │ │ ├── Launch.png │ │ ├── create_security_group.png │ │ ├── keyring.png │ │ ├── keyring1.png │ │ ├── launch_with_console.png │ │ ├── manual_launch.png │ │ ├── refresh.png │ │ ├── refresh1.png │ │ ├── refresh2.png │ │ ├── remote.png │ │ ├── remote1.png │ │ ├── root_volume_storage.png │ │ ├── start.png │ │ ├── start1.png │ │ └── terminal.png ├── setup_script │ └── setup_script.sh └── workspace │ ├── .metadata │ ├── .lock │ ├── .log │ ├── .plugins │ │ ├── com.xilinx.sdsoc.ui │ │ │ └── dialog_settings.xml │ │ ├── com.xilinx.sdx.core │ │ │ └── dialog_settings.xml │ │ ├── com.xilinx.sdx.npw │ │ │ └── dialog_settings.xml │ │ ├── org.eclipse.cdt.core │ │ │ ├── .log │ │ │ ├── IDCT.1556053566386.pdom │ │ │ ├── IDCT_system.1556053566453.pdom │ │ │ └── language.settings.xml │ │ ├── org.eclipse.cdt.make.core │ │ │ ├── specs.c │ │ │ └── specs.cpp │ │ ├── org.eclipse.cdt.managedbuilder.core │ │ │ ├── spec.C │ │ │ └── spec.c │ │ ├── org.eclipse.cdt.ui │ │ │ └── dialog_settings.xml │ │ ├── org.eclipse.core.resources │ │ │ ├── .projects │ │ │ │ ├── IDCT │ │ │ │ │ ├── .indexes │ │ │ │ │ │ ├── e4 │ │ │ │ │ │ │ └── properties.index │ │ │ │ │ │ └── properties.index │ │ │ │ │ └── org.eclipse.egit.core │ │ │ │ │ │ └── GitProjectData.properties │ │ │ │ └── IDCT_system │ │ │ │ │ ├── .indexes │ │ │ │ │ └── properties.index │ │ │ │ │ └── org.eclipse.egit.core │ │ │ │ │ └── GitProjectData.properties │ │ │ ├── .root │ │ │ │ ├── .indexes │ │ │ │ │ ├── history.version │ │ │ │ │ ├── properties.index │ │ │ │ │ └── properties.version │ │ │ │ └── 1.tree │ │ │ └── .safetable │ │ │ │ └── org.eclipse.core.resources │ │ ├── org.eclipse.core.runtime │ │ │ └── .settings │ │ │ │ ├── com.xilinx.sdk.utils.prefs │ │ │ │ ├── org.eclipse.cdt.core.prj-IDCT.prefs │ │ │ │ ├── org.eclipse.cdt.core.prj-IDCT_system.prefs │ │ │ │ ├── org.eclipse.cdt.debug.core.prefs │ │ │ │ ├── org.eclipse.cdt.managedbuilder.core.prefs │ │ │ │ ├── org.eclipse.cdt.ui.prefs │ │ │ │ ├── org.eclipse.core.resources.prefs │ │ │ │ ├── org.eclipse.debug.core.prefs │ │ │ │ ├── org.eclipse.debug.ui.prefs │ │ │ │ ├── org.eclipse.egit.core.prefs │ │ │ │ ├── org.eclipse.jdt.ui.prefs │ │ │ │ ├── org.eclipse.rse.core.prefs │ │ │ │ ├── org.eclipse.rse.ui.prefs │ │ │ │ ├── org.eclipse.team.ui.prefs │ │ │ │ ├── org.eclipse.ui.editors.prefs │ │ │ │ ├── org.eclipse.ui.ide.prefs │ │ │ │ ├── org.eclipse.ui.prefs │ │ │ │ └── org.eclipse.ui.workbench.prefs │ │ ├── org.eclipse.debug.ui │ │ │ └── launchConfigurationHistory.xml │ │ ├── org.eclipse.dltk.core │ │ │ └── Containers.dat │ │ ├── org.eclipse.e4.workbench │ │ │ └── workbench.xmi │ │ ├── org.eclipse.jdt.core │ │ │ ├── assumedExternalFilesCache │ │ │ ├── externalFilesCache │ │ │ ├── index.db │ │ │ ├── nonChainingJarsCache │ │ │ └── variablesAndContainers.dat │ │ ├── org.eclipse.jdt.ui │ │ │ ├── OpenTypeHistory.xml │ │ │ └── QualifiedTypeNameHistory.xml │ │ ├── org.eclipse.pde.core │ │ │ └── .cache │ │ │ │ └── clean-cache.properties │ │ ├── org.eclipse.rse.core │ │ │ ├── .log │ │ │ ├── initializerMarks │ │ │ │ └── org.eclipse.rse.internal.core.RSELocalConnectionInitializer.mark │ │ │ └── profiles │ │ │ │ └── PRF.ip-172-31-29-133_0 │ │ │ │ ├── FP.local.files_0 │ │ │ │ └── node.properties │ │ │ │ ├── H.local_16 │ │ │ │ └── node.properties │ │ │ │ └── node.properties │ │ ├── org.eclipse.rse.ui │ │ │ └── .log │ │ ├── org.eclipse.tcf.debug │ │ │ └── peers.ini │ │ ├── org.eclipse.ui.workbench.texteditor │ │ │ └── dialog_settings.xml │ │ └── org.eclipse.ui.workbench │ │ │ ├── dialog_settings.xml │ │ │ └── workingsets.xml │ └── version.ini │ ├── IDCT │ ├── .cproject │ ├── .project │ ├── Emulation-HW │ │ └── guidance.pb │ ├── Emulation-SW │ │ └── guidance.pb │ ├── System │ │ └── guidance.pb │ ├── _sdx │ │ └── launch │ │ │ ├── IDCT-Default.launch │ │ │ └── IDCT-TCF.launch │ ├── project.sdx │ └── src │ │ ├── hls_config.tcl │ │ ├── idct.cpp │ │ └── krnl_idct.cpp │ ├── IDCT_system │ ├── .cproject │ ├── .project │ └── project.sdxs │ ├── RemoteSystemsTempFiles │ └── .project │ └── SDK.log ├── README.md ├── Using-PCIM-Port ├── Makefile ├── README.md ├── atg_driver.c └── atg_test.c ├── Using-PCIe-Interrupts ├── Makefile ├── README.md ├── f1_driver.c └── f1_test.c ├── Using-PCIe-Peer2Peer ├── Makefile ├── README.md ├── p2p.png ├── test_p2p.c ├── test_p2p_common.c └── test_p2p_common.h ├── Using-PCIe-Write-Combining ├── Makefile ├── README.md ├── Write-Combine-Performance.png └── wc_perf.c ├── reInvent17_Developer_Workshop └── README.md ├── reInvent18_Developer_Workshop ├── FILTER2D_CMDLINE.md ├── FILTER2D_GUI.md ├── FILTER2D_HWEMUL.md ├── FILTER2D_Lab.md ├── HOSTCODE_OPT.md ├── README.md ├── SDAccelGUI_INTRO.md ├── SETUP.md ├── WRAP_UP.md ├── filter2D │ ├── Makefile │ ├── README.md │ ├── img │ │ ├── paris.bmp │ │ ├── picadilly_1080p.bmp │ │ ├── picadilly_1080p_out.bmp │ │ ├── picadilly_1080p_ref.bmp │ │ └── test.bmp │ ├── run.sh │ ├── src │ │ ├── host │ │ │ ├── cmdlineparser.cpp │ │ │ ├── cmdlineparser.h │ │ │ ├── coefficients.h │ │ │ ├── filter2d.cpp │ │ │ ├── filter2d.h │ │ │ ├── host.cpp │ │ │ ├── logger.cpp │ │ │ ├── logger.h │ │ │ ├── window2d.h │ │ │ ├── xclbin_helper.cpp │ │ │ └── xclbin_helper.h │ │ └── kernel │ │ │ ├── axi2stream.cpp │ │ │ ├── axi2stream.h │ │ │ ├── filter2d.cpp │ │ │ ├── filter2d.h │ │ │ ├── hls_video_mem.h │ │ │ ├── readcoeffs.cpp │ │ │ └── window2d.h │ └── xclbin │ │ ├── filter2d_1K_afi_id.txt │ │ ├── filter2d_3K_afi_id.txt │ │ ├── filter2d_6K_afi_id.txt │ │ ├── fpga1k.hw.xilinx_aws-vu9p-f1-04261818_dynamic_5_0.awsxclbin │ │ ├── fpga3k.hw.xilinx_aws-vu9p-f1-04261818_dynamic_5_0.awsxclbin │ │ └── fpga6k.hw.xilinx_aws-vu9p-f1-04261818_dynamic_5_0.awsxclbin ├── helloworld_c │ ├── Makefile │ ├── README.md │ ├── description.json │ ├── kernel_afi_files │ │ ├── helloworld_c_afi_id.txt │ │ └── vadd.hw.xilinx_aws-vu9p-f1-04261818_dynamic_5_0.awsxclbin │ ├── sdaccel.ini │ ├── src │ │ ├── host.cpp │ │ ├── vadd.cpp │ │ ├── xcl2.cpp │ │ └── xcl2.hpp │ └── utils.mk ├── helloworld_ocl │ ├── Makefile │ ├── README.md │ ├── description.json │ ├── sdaccel.ini │ ├── src │ │ ├── host.cpp │ │ └── vector_addition.cl │ ├── utils.mk │ └── xclbin │ │ └── vector_addition.hw.xilinx_aws-vu9p-f1-04261818_dynamic_5_0.awsxclbin ├── hostcode_opt │ ├── Makefile │ ├── README.md │ ├── auxFiles │ │ ├── bufHost.cpp │ │ ├── opencl.mk │ │ ├── parsexpmf.py │ │ ├── pipelineHost.cpp │ │ ├── plot.txt │ │ ├── run.py │ │ ├── sdaccel.ini │ │ ├── syncHost.cpp │ │ └── utils.mk │ ├── srcBuf │ │ └── host.cpp │ ├── srcCommon │ │ ├── AlignedAllocator.h │ │ ├── ApiHandle.h │ │ └── Task.h │ ├── srcKernel │ │ └── pass.cpp │ ├── srcPipeline │ │ └── host.cpp │ ├── srcSync │ │ └── host.cpp │ └── xclbin │ │ ├── pass.hw.xilinx_aws-vu9p-f1-04261818_dynamic_5_0.awsxclbin │ │ └── pass_afi_id.txt ├── images │ ├── SDAccelGUI_INTRO │ │ ├── AddCustomPlatform.PNG │ │ ├── AddHW.png │ │ ├── AddHardwareFunction.PNG │ │ ├── ApplicationTimeline_helloworld_c.PNG │ │ ├── ApplicationTimeline_loop4.PNG │ │ ├── Application_timeline_helloworld_c_HWEMU.PNG │ │ ├── Binary_container.PNG │ │ ├── Build.png │ │ ├── CreateApplicationProject.PNG │ │ ├── Debug.png │ │ ├── DebugConfig_EnableAppTimeline.PNG │ │ ├── Guidance_helloworld_c_HWEMU.PNG │ │ ├── HLSReport_Helloworld_c_HWEMU.PNG │ │ ├── HostCpp_expanded.PNG │ │ ├── ImportSRC.png │ │ ├── ImportSources.PNG │ │ ├── ImportSources_2.PNG │ │ ├── PlusSign.PNG │ │ ├── ProfileSummary_helloworld_c_HWEMU.PNG │ │ ├── ProjectName.PNG │ │ ├── Resume.png │ │ ├── Run.png │ │ ├── SDxGUI_Test.PNG │ │ ├── SrcExpanded.PNG │ │ ├── StepOver.png │ │ ├── Templates.PNG │ │ ├── TimelineSW.png │ │ ├── TimelineSW_4.png │ │ └── ToggleBreakPoint_line73.PNG │ ├── filter2d_lab │ │ ├── AddHW.png │ │ ├── Build.png │ │ ├── BuildButton.PNG │ │ ├── HW_Emu_Reports.PNG │ │ ├── ImportSourcesButton.PNG │ │ ├── Outline.PNG │ │ ├── PRC_1kernel_1img.PNG │ │ ├── ReportsAssistant.PNG │ │ ├── RunButton.PNG │ │ ├── RunConfiguration.PNG │ │ ├── RunResult.PNG │ │ ├── SDxProjectCreateApplication.PNG │ │ ├── SDxProjectCreateCustomPlatform.PNG │ │ ├── SDxProjectCreateGccHostCompilerExpertSettings.PNG │ │ ├── SDxProjectCreateGccHostLinkerExpertSettings.PNG │ │ ├── SDxProjectCreateImportSrc.PNG │ │ ├── SDxProjectCreateMapKernelFunctions.PNG │ │ ├── SDxProjectCreateName.PNG │ │ ├── SDxProjectCreateRunArguments.PNG │ │ ├── SDxProjectCreateSystemConfiguration.PNG │ │ ├── SDxProjectCreateTemplates.PNG │ │ ├── SDxProjectDefault.PNG │ │ ├── SDxWelcome.PNG │ │ ├── SDxWindows.PNG │ │ ├── SetNumComputeUnits.PNG │ │ ├── Timeline_1kernel_1img.PNG │ │ ├── Timeline_3kernel_1img.PNG │ │ ├── Timeline_3kernel_2img.PNG │ │ └── Timeline_3kernel_2img_improved.PNG │ ├── hostcode_opt │ │ ├── OrderedQueue.PNG │ │ ├── OutOfOrderQueue.PNG │ │ ├── clEventSync.PNG │ │ ├── clFinish.PNG │ │ └── stepFunc.PNG │ ├── introduction │ │ └── f1_platform.png │ └── setup_lab │ │ ├── Continue_to_Launch.png │ │ ├── Continue_to_Subscribe.png │ │ ├── Continue_to_configuration.png │ │ ├── Instance_type.png │ │ ├── Launch.png │ │ ├── create_security_group.png │ │ ├── keyring.png │ │ ├── keyring1.png │ │ ├── launch_with_console.png │ │ ├── manual_launch.png │ │ ├── refresh.png │ │ ├── refresh1.png │ │ ├── refresh2.png │ │ ├── remote.png │ │ ├── remote1.png │ │ ├── root_volume_storage.png │ │ ├── start.png │ │ ├── start1.png │ │ └── terminal.png └── setup_script │ └── setup_script.sh └── reInvent19_Developer_Workshop ├── LICENSE ├── README.md ├── images ├── module_01 │ ├── lab_02_idct │ │ ├── BuildButton.PNG │ │ ├── EndHLSReport.PNG │ │ ├── EndProfileSummary.PNG │ │ ├── HLSReport.PNG │ │ ├── HWProfile.PNG │ │ ├── LatencyKrnlIdctDataflow.PNG │ │ ├── LatencyKrnlIdctDataflow2.PNG │ │ ├── LatencyKrnlIdctDataflow3.PNG │ │ ├── OutlineKrnl.PNG │ │ ├── OutlineKrnl_183.PNG │ │ ├── ProfileSummaryComp.PNG │ │ ├── Reports.PNG │ │ ├── Reports_183.PNG │ │ ├── RunButton.PNG │ │ ├── SDxWindows.PNG │ │ ├── SWProfile.PNG │ │ ├── SWTimeline.PNG │ │ ├── WorkspaceSetup.PNG │ │ ├── ZoomApplicationTimeline.PNG │ │ ├── ZoomApplicationTimelineEnd.PNG │ │ ├── import_prj.png │ │ └── import_prj_2.png │ └── overview │ │ └── f1_platform.png └── setup │ ├── keyring.png │ ├── keyring1.png │ ├── refresh.png │ ├── refresh1.png │ ├── refresh2.png │ ├── remote.png │ ├── remote1.png │ ├── start.png │ ├── start1.png │ └── terminal.png ├── modules ├── module_01 │ ├── README.md │ ├── helloworld │ │ ├── Makefile │ │ ├── src │ │ │ ├── host.cpp │ │ │ ├── vector_addition.cl │ │ │ ├── xcl2.cpp │ │ │ ├── xcl2.hpp │ │ │ └── xcl2.mk │ │ ├── xclbin │ │ │ ├── 19_12_19-215209_afi_id.txt │ │ │ └── vector_addition_hw.awsxclbin │ │ └── xrt.ini │ ├── idct │ │ ├── Makefile │ │ ├── src │ │ │ ├── idct.cpp │ │ │ └── krnl_idct.cpp │ │ ├── xclbin │ │ │ ├── 19_12_18-170118_afi_id.txt │ │ │ └── krnl_idct.hw.awsxclbin │ │ └── xrt.ini │ ├── lab_01_helloworld.md │ ├── lab_02_idct_introduction.md │ ├── lab_03_idct_optimization.md │ └── lab_04_wrap_up.md ├── module_02 │ ├── README.md │ ├── cpu_src │ │ ├── Makefile │ │ ├── MurmurHash2.c │ │ ├── common.h │ │ ├── common.mk │ │ ├── compute_score_host.cpp │ │ ├── main.cpp │ │ ├── sizes.h │ │ └── xcl2.hpp │ ├── data_movement.md │ ├── host_eval.md │ ├── images │ │ ├── double_buffer_timeline_trace.PNG │ │ ├── generic_buffer_timeline_trace.PNG │ │ ├── iter_generic.PNG │ │ ├── kernel_execution_time.png │ │ ├── overlap_aws.PNG │ │ ├── overlap_double_buffer.PNG │ │ ├── overlap_single_buffer.PNG │ │ ├── overlap_split_buffer.PNG │ │ ├── overlap_sw_overlap.PNG │ │ ├── single_buffer_timeline_trace.PNG │ │ ├── sw_overlap_aws.PNG │ │ └── sw_overlap_timeline_trace.PNG │ ├── makefile │ │ ├── Makefile │ │ ├── common.mk │ │ ├── runOnfpga_hw.awsxclbin │ │ └── xrt.ini │ ├── reference_files │ │ ├── MurmurHash2.c │ │ ├── common.h │ │ ├── compute_score_fpga.cpp │ │ ├── compute_score_host.cpp │ │ ├── emconfig.json │ │ ├── hls_stream_utils.h │ │ ├── main.cpp │ │ ├── run_generic_buffer.cpp │ │ ├── run_single_buffer.cpp │ │ ├── run_split_buffer.cpp │ │ ├── run_sw_overlap.cpp │ │ ├── sizes.h │ │ ├── xcl2.cpp │ │ └── xcl2.hpp │ └── src │ │ ├── generic_buffer │ │ ├── MurmurHash2.c │ │ ├── common.h │ │ ├── compute_score_fpga.cpp │ │ ├── compute_score_host.cpp │ │ ├── emconfig.json │ │ ├── hls_stream_utils.h │ │ ├── main.cpp │ │ ├── run_fpga.cpp │ │ ├── sizes.h │ │ ├── xcl2.cpp │ │ └── xcl2.hpp │ │ ├── single_buffer │ │ ├── MurmurHash2.c │ │ ├── common.h │ │ ├── compute_score_fpga.cpp │ │ ├── compute_score_host.cpp │ │ ├── emconfig.json │ │ ├── hls_stream_utils.h │ │ ├── main.cpp │ │ ├── run_fpga.cpp │ │ ├── sizes.h │ │ ├── xcl2.cpp │ │ └── xcl2.hpp │ │ ├── split_buffer │ │ ├── MurmurHash2.c │ │ ├── common.h │ │ ├── compute_score_fpga.cpp │ │ ├── compute_score_host.cpp │ │ ├── emconfig.json │ │ ├── hls_stream_utils.h │ │ ├── main.cpp │ │ ├── run_fpga.cpp │ │ ├── sizes.h │ │ ├── xcl2.cpp │ │ └── xcl2.hpp │ │ └── sw_overlap │ │ ├── MurmurHash2.c │ │ ├── common.h │ │ ├── compute_score_fpga.cpp │ │ ├── compute_score_host.cpp │ │ ├── emconfig.json │ │ ├── hls_stream_utils.h │ │ ├── main.cpp │ │ ├── run_fpga.cpp │ │ ├── sizes.h │ │ ├── xcl2.cpp │ │ └── xcl2.hpp └── module_03 │ ├── HowToRunTutorial.md │ ├── README.md │ ├── RunOnHardware.md │ ├── RunOriginalCode.md │ ├── baseline.md │ ├── dataflow.md │ ├── design │ ├── cpu_src │ │ ├── Makefile │ │ ├── common.cpp │ │ ├── common.h │ │ ├── constants.h │ │ ├── convolve.cpp │ │ ├── convolve_kernel.cpp │ │ ├── filters.h │ │ ├── grayscale_kernel.cpp │ │ ├── kernels.h │ │ ├── main.cpp │ │ └── types.h │ ├── makefile │ │ ├── Makefile │ │ └── sdaccel.ini │ ├── reference-files │ │ ├── addi_k │ │ │ ├── common.cpp │ │ │ ├── common.h │ │ │ ├── constants.h │ │ │ ├── convolve.cpp │ │ │ ├── convolve_fpga.cpp │ │ │ ├── convolve_kernel.cpp │ │ │ ├── filters.h │ │ │ ├── grayscale_kernel.cpp │ │ │ ├── kernels.h │ │ │ ├── main.cpp │ │ │ ├── types.h │ │ │ ├── xcl2.cpp │ │ │ └── xcl2.hpp │ │ ├── baseline │ │ │ ├── common.cpp │ │ │ ├── common.h │ │ │ ├── constants.h │ │ │ ├── convolve.cpp │ │ │ ├── convolve_fpga.cpp │ │ │ ├── convolve_kernel.cpp │ │ │ ├── filters.h │ │ │ ├── grayscale_kernel.cpp │ │ │ ├── kernels.h │ │ │ ├── main.cpp │ │ │ ├── types.h │ │ │ ├── xcl2.cpp │ │ │ └── xcl2.hpp │ │ ├── dataflow │ │ │ ├── common.cpp │ │ │ ├── common.h │ │ │ ├── constants.h │ │ │ ├── convolve.cpp │ │ │ ├── convolve_fpga.cpp │ │ │ ├── convolve_kernel.cpp │ │ │ ├── filters.h │ │ │ ├── grayscale_kernel.cpp │ │ │ ├── kernels.h │ │ │ ├── main.cpp │ │ │ ├── types.h │ │ │ ├── xcl2.cpp │ │ │ └── xcl2.hpp │ │ ├── fixedpoint │ │ │ ├── common.cpp │ │ │ ├── common.h │ │ │ ├── constants.h │ │ │ ├── convolve.cpp │ │ │ ├── convolve_fpga.cpp │ │ │ ├── convolve_kernel.cpp │ │ │ ├── filters.h │ │ │ ├── grayscale_kernel.cpp │ │ │ ├── kernels.h │ │ │ ├── main.cpp │ │ │ ├── types.h │ │ │ ├── xcl2.cpp │ │ │ └── xcl2.hpp │ │ ├── localbuf │ │ │ ├── common.cpp │ │ │ ├── common.h │ │ │ ├── constants.h │ │ │ ├── convolve.cpp │ │ │ ├── convolve_fpga.cpp │ │ │ ├── convolve_kernel.cpp │ │ │ ├── filters.h │ │ │ ├── grayscale_kernel.cpp │ │ │ ├── kernels.h │ │ │ ├── main.cpp │ │ │ ├── types.h │ │ │ ├── xcl2.cpp │ │ │ └── xcl2.hpp │ │ └── multicu │ │ │ ├── common.cpp │ │ │ ├── common.h │ │ │ ├── constants.h │ │ │ ├── convolve.cpp │ │ │ ├── convolve_fpga.cpp │ │ │ ├── convolve_kernel.cpp │ │ │ ├── filters.h │ │ │ ├── grayscale_kernel.cpp │ │ │ ├── kernels.h │ │ │ ├── main.cpp │ │ │ ├── types.h │ │ │ ├── xcl2.cpp │ │ │ └── xcl2.hpp │ ├── src │ │ ├── addi_k │ │ │ ├── common.cpp │ │ │ ├── common.h │ │ │ ├── constants.h │ │ │ ├── convolve.cpp │ │ │ ├── convolve_fpga.cpp │ │ │ ├── convolve_kernel.cpp │ │ │ ├── filters.h │ │ │ ├── grayscale_kernel.cpp │ │ │ ├── kernels.h │ │ │ ├── main.cpp │ │ │ ├── types.h │ │ │ ├── xcl2.cpp │ │ │ └── xcl2.hpp │ │ ├── baseline │ │ │ ├── common.cpp │ │ │ ├── common.h │ │ │ ├── constants.h │ │ │ ├── convolve.cpp │ │ │ ├── convolve_backup.cpp │ │ │ ├── convolve_fpga.cpp │ │ │ ├── convolve_kernel.cpp │ │ │ ├── filters.h │ │ │ ├── grayscale_kernel.cpp │ │ │ ├── kernels.h │ │ │ ├── main.cpp │ │ │ ├── types.h │ │ │ ├── xcl2.cpp │ │ │ └── xcl2.hpp │ │ ├── dataflow │ │ │ ├── common.cpp │ │ │ ├── common.h │ │ │ ├── constants.h │ │ │ ├── convolve.cpp │ │ │ ├── convolve_fpga.cpp │ │ │ ├── convolve_kernel.cpp │ │ │ ├── filters.h │ │ │ ├── grayscale_kernel.cpp │ │ │ ├── kernels.h │ │ │ ├── main.cpp │ │ │ ├── types.h │ │ │ ├── xcl2.cpp │ │ │ └── xcl2.hpp │ │ ├── fixedpoint │ │ │ ├── common.cpp │ │ │ ├── common.h │ │ │ ├── constants.h │ │ │ ├── convolve.cpp │ │ │ ├── convolve_fpga.cpp │ │ │ ├── convolve_kernel.cpp │ │ │ ├── filters.h │ │ │ ├── grayscale_kernel.cpp │ │ │ ├── kernels.h │ │ │ ├── main.cpp │ │ │ ├── types.h │ │ │ ├── xcl2.cpp │ │ │ └── xcl2.hpp │ │ ├── localbuf │ │ │ ├── common.cpp │ │ │ ├── common.h │ │ │ ├── constants.h │ │ │ ├── convolve.cpp │ │ │ ├── convolve_fpga.cpp │ │ │ ├── convolve_kernel.cpp │ │ │ ├── filters.h │ │ │ ├── grayscale_kernel.cpp │ │ │ ├── kernels.h │ │ │ ├── main.cpp │ │ │ ├── types.h │ │ │ ├── xcl2.cpp │ │ │ └── xcl2.hpp │ │ └── multicu │ │ │ ├── common.cpp │ │ │ ├── common.h │ │ │ ├── constants.h │ │ │ ├── convolve.cpp │ │ │ ├── convolve_fpga.cpp │ │ │ ├── convolve_kernel.cpp │ │ │ ├── filters.h │ │ │ ├── grayscale_kernel.cpp │ │ │ ├── kernels.h │ │ │ ├── main.cpp │ │ │ ├── types.h │ │ │ ├── xcl2.cpp │ │ │ └── xcl2.hpp │ ├── video.mp4 │ └── xclbin │ │ ├── baseline │ │ └── fpga_container_hw.awsxclbin │ │ ├── dataflow │ │ └── fpga_container_hw.awsxclbin │ │ ├── fixedpoint │ │ └── fpga_container_hw.awsxclbin │ │ ├── localbuf │ │ └── fpga_container_hw.awsxclbin │ │ └── multicu │ │ └── fpga_container_hw.awsxclbin │ ├── fixedtype.md │ ├── images │ ├── 4_function_pipelining.png │ ├── baseline_hw_timeline_aws.JPG │ ├── baseline_hwemu_pfsummary_aws.JPG │ ├── convolve_fpga_local.png │ ├── convolve_variables.png │ ├── dataflow.png │ ├── dataflow_hw_timeline_aws.JPG │ ├── dataflow_hwemu_pfsummary_aws.JPG │ ├── ffmpeg_usage.png │ ├── fixedtype_hw_timeline_aws.JPG │ ├── fixedtype_hwemu_pfsummary_aws.JPG │ ├── localbuf_hw_timeline_aws.JPG │ ├── localbuf_hwemu_pfsummary_aws.JPG │ ├── multicu_hw_timeline_aws.JPG │ ├── multicu_hwemu_pfsummary_aws.JPG │ └── readme.txt │ ├── localbuf.md │ └── multi-CU.md └── setup └── instructions.md /FPGA_Developer_AMI_Build_Recipe_AL2/files/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /FPGA_Developer_AMI_Build_Recipe_AL2/images/AWS_Classroom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/FPGA_Developer_AMI_Build_Recipe_AL2/images/AWS_Classroom.png -------------------------------------------------------------------------------- /FPGA_Developer_AMI_Build_Recipe_AL2/images/AWS_Credentials_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/FPGA_Developer_AMI_Build_Recipe_AL2/images/AWS_Credentials_1.png -------------------------------------------------------------------------------- /FPGA_Developer_AMI_Build_Recipe_AL2/images/Console_AMI.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/FPGA_Developer_AMI_Build_Recipe_AL2/images/Console_AMI.png -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/.metadata/.lock -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/com.xilinx.sdsoc.ui/dialog_settings.xml: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.cdt.core/.log: -------------------------------------------------------------------------------- 1 | *** SESSION Nov 06, 2017 23:20:38.23 ------------------------------------------- 2 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.cdt.core/IDCT.1510010508909.pdom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.cdt.core/IDCT.1510010508909.pdom -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.cdt.make.core/specs.c: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.cdt.make.core/specs.cpp: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.cdt.managedbuilder.core/spec.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.cdt.managedbuilder.core/spec.c -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.cdt.ui/dialog_settings.xml: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 |
21 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.core.resources/.projects/IDCT/.indexes/properties.index: -------------------------------------------------------------------------------- 1 | IDCT.property.page.height900.property.page.width906.property.page.x0.property.page.y28org.eclipse.cdt.coreactiveConfiguration-com.xilinx.sdx.opencl.config.sw_emu.725308908pdomNameIDCT.1510010508909.pdomsettingConfiguration-com.xilinx.sdx.opencl.config.sw_emu.725308908org.eclipse.cdt.make.corediscoveredScannerConfigFileNameIDCT.sc -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.core.resources/.projects/RemoteSystemsTempFiles/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.core.resources/.projects/RemoteSystemsTempFiles/.gitkeep -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/history.version: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index: -------------------------------------------------------------------------------- 1 | /org.eclipse.core.resourcescontentCacheState2contentCacheTimestamp 1509511562205org.eclipse.jdt.corestateVersionNumber29 -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.version: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.core.resources/.root/1.tree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.core.resources/.root/1.tree -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.xilinx.sdk.utils.prefs: -------------------------------------------------------------------------------- 1 | com.xilinx.sdk.preference.invokecount=1 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.core.prj-IDCT.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | indexer/preferenceScope=0 3 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.debug.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.cdt.debug.core.cDebug.default_source_containers=\n\n\n\n\n\n\n\n 3 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.ui.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | spelling_locale_initialized=true 3 | useAnnotationsPrefPage=true 4 | useQuickDiffPrefPage=true 5 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | version=1 3 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.debug.core.prefs: -------------------------------------------------------------------------------- 1 | //org.eclipse.debug.core.PREFERRED_DELEGATES/org.eclipse.cdt.launch.applicationLaunchType=org.eclipse.cdt.dsf.gdb.launch.localCLaunch,debug,;org.eclipse.cdt.cdi.launch.localCLaunch,run,; 2 | //org.eclipse.debug.core.PREFERRED_DELEGATES/org.eclipse.cdt.launch.attachLaunchType=org.eclipse.cdt.dsf.gdb.launch.attachCLaunch,debug,; 3 | //org.eclipse.debug.core.PREFERRED_DELEGATES/org.eclipse.cdt.launch.postmortemLaunchType=org.eclipse.cdt.dsf.gdb.launch.coreCLaunch,debug,; 4 | //org.eclipse.debug.core.PREFERRED_DELEGATES/org.eclipse.cdt.launch.remoteApplicationLaunchType=org.eclipse.rse.remotecdt.dsf.debug,debug,; 5 | eclipse.preferences.version=1 6 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.debug.ui.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.debug.ui.PREF_LAUNCH_PERSPECTIVES=\n\n 3 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs: -------------------------------------------------------------------------------- 1 | content_assist_proposals_background=255,255,255 2 | content_assist_proposals_foreground=0,0,0 3 | eclipse.preferences.version=1 4 | fontPropagated=true 5 | org.eclipse.jdt.internal.ui.navigator.layout=2 6 | org.eclipse.jdt.internal.ui.navigator.librariesnode=true 7 | org.eclipse.jdt.ui.editor.tab.width= 8 | org.eclipse.jdt.ui.formatterprofiles.version=12 9 | org.eclipse.jdt.ui.javadoclocations.migrated=true 10 | org.eclipse.jface.textfont=1|Monospace|10.0|0|GTK|1|; 11 | proposalOrderMigrated=true 12 | spelling_locale_initialized=true 13 | tabWidthPropagated=true 14 | useAnnotationsPrefPage=true 15 | useQuickDiffPrefPage=true 16 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.rse.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.rse.systemtype.local.systemType.defaultUserId=centos 3 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.rse.ui.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.rse.preferences.order.connections=ip-172-31-90-94.Local 3 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs: -------------------------------------------------------------------------------- 1 | PROBLEMS_FILTERS_MIGRATE=true 2 | eclipse.preferences.version=1 3 | platformState=1509511562205 4 | quickStart=false 5 | tipsAndTricks=true 6 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | showIntro=false 3 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs: -------------------------------------------------------------------------------- 1 | //org.eclipse.ui.commands/state/org.eclipse.ui.navigator.resources.nested.changeProjectPresentation/org.eclipse.ui.commands.radioState=false 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.debug.ui/dialog_settings.xml: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | 5 | 6 | 7 |
8 |
9 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.debug.ui/launchConfigurationHistory.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.dltk.core/Containers.dat: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.jdt.core/assumedExternalFilesCache: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.jdt.core/externalFilesCache: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.jdt.core/nonChainingJarsCache: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat: -------------------------------------------------------------------------------- 1 | JRE_LIB JRE_SRCROOT 2 | JUNIT_HOMEJRE_SRC ECLIPSE_HOMEJUNIT_SRC_HOME -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.jdt.ui/OpenTypeHistory.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.pde.core/.cache/clean-cache.properties: -------------------------------------------------------------------------------- 1 | #Cached timestamps 2 | #Mon Nov 06 23:25:18 UTC 2017 3 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.rse.core/.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.rse.core/.log -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.rse.core/initializerMarks/org.eclipse.rse.internal.core.RSELocalConnectionInitializer.mark: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.rse.core/initializerMarks/org.eclipse.rse.internal.core.RSELocalConnectionInitializer.mark -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.rse.core/profiles/PRF.ip-172-31-90-94_0/H.local_16/node.properties: -------------------------------------------------------------------------------- 1 | # RSE DOM Node 2 | 00-name=Local 3 | 01-type=Host 4 | 03-attr.description= 5 | 03-attr.hostname=LOCALHOST 6 | 03-attr.offline=false 7 | 03-attr.promptable=false 8 | 03-attr.systemType=org.eclipse.rse.systemtype.local 9 | 03-attr.type=Local 10 | 06-child.00000.00-name=Local Connector Service 11 | 06-child.00000.01-type=ConnectorService 12 | 06-child.00000.03-attr.group=Local Connector Service 13 | 06-child.00000.03-attr.port=0 14 | 06-child.00000.03-attr.useSSL=false 15 | 06-child.00000.06-child.00000.00-name=Local Files 16 | 06-child.00000.06-child.00000.01-type=SubSystem 17 | 06-child.00000.06-child.00000.03-attr.hidden=false 18 | 06-child.00000.06-child.00000.03-attr.type=local.files 19 | 06-child.00000.06-child.00000.06-child.00000.00-name=ip-172-31-90-94___ip-172-31-90-94\:local.files 20 | 06-child.00000.06-child.00000.06-child.00000.01-type=FilterPoolReference 21 | 06-child.00000.06-child.00000.06-child.00000.03-attr.refID=local.files 22 | 06-child.00000.06-child.00001.00-name=Local Shells 23 | 06-child.00000.06-child.00001.01-type=SubSystem 24 | 06-child.00000.06-child.00001.03-attr.hidden=false 25 | 06-child.00000.06-child.00001.03-attr.type=local.shells 26 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.rse.core/profiles/PRF.ip-172-31-90-94_0/node.properties: -------------------------------------------------------------------------------- 1 | # RSE DOM Node 2 | 00-name=ip-172-31-90-94 3 | 01-type=Profile 4 | 03-attr.defaultPrivate=true 5 | 03-attr.isActive=true 6 | 05-ref.00000=FP.local.files_0 7 | 05-ref.00001=H.local_16 8 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.rse.ui/.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.rse.ui/.log -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.tcf.debug/peers.ini: -------------------------------------------------------------------------------- 1 | ServiceManagerID=7ebfd8f4-c047-4ec7-90b9-f4ffc1aa8226 2 | TransportName=TCP 3 | PeerTypeId=HARDWARE_SERVER 4 | UserName=centos 5 | Port=3121 6 | Host=127.0.0.1 7 | OSName=Linux 8 | ID=Local 9 | AgentID=7ebfd8f4-c047-4ec7-90b9-f4ffc1aa8226 10 | Name=Local 11 | 12 | ServiceManagerID=7ebfd8f4-c047-4ec7-90b9-f4ffc1aa8226 13 | TransportName=TCP 14 | PeerTypeId=LINUX_TCF_AGENT 15 | UserName=centos 16 | Port=1534 17 | Host=192.168.0.1 18 | OSName=Linux 19 | ID=Linux Agent 20 | AgentID=7ebfd8f4-c047-4ec7-90b9-f4ffc1aa8226 21 | Name=Linux Agent 22 | 23 | ServiceManagerID=7ebfd8f4-c047-4ec7-90b9-f4ffc1aa8226 24 | TransportName=TCP 25 | PeerTypeId=QEMU_TCF_GDB_CLIENT 26 | UserName=centos 27 | Port=1138 28 | Host=127.0.0.1 29 | OSName=Linux 30 | ID=QEMU 31 | AgentID=7ebfd8f4-c047-4ec7-90b9-f4ffc1aa8226 32 | Name=QEMU 33 | 34 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 |
16 | 17 | 18 | 19 | 20 |
21 |
22 | 23 | 24 | 25 | 26 | 27 |
28 |
29 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/.metadata/version.ini: -------------------------------------------------------------------------------- 1 | #Mon Nov 06 23:20:37 UTC 2017 2 | org.eclipse.core.runtime=2 3 | org.eclipse.platform=4.6.1.v20160907-1200 4 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/helloworld_ocl/Makefile: -------------------------------------------------------------------------------- 1 | COMMON_REPO := /home/centos/aws-fpga/SDAccel/examples/xilinx 2 | 3 | #Common Includes 4 | include $(COMMON_REPO)/utility/boards.mk 5 | include $(COMMON_REPO)/libs/xcl2/xcl2.mk 6 | include $(COMMON_REPO)/libs/opencl/opencl.mk 7 | 8 | # Host Application 9 | helloworld_SRCS=./src/host.cpp $(oclHelper_SRCS) $(xcl2_SRCS) 10 | helloworld_HDRS=$(xcl2_HDRS) 11 | helloworld_CXXFLAGS=-I./src/ $(opencl_CXXFLAGS) $(xcl2_CXXFLAGS) $(oclHelper_CXXFLAGS) -std=c++0x 12 | helloworld_LDFLAGS=$(opencl_LDFLAGS) 13 | 14 | EXES=helloworld 15 | 16 | # Kernel 17 | vector_addition_SRCS=./src/vector_addition.cl 18 | 19 | XOS=vector_addition 20 | 21 | vector_addition_XOS=vector_addition 22 | 23 | XCLBINS=vector_addition 24 | 25 | # check 26 | check_EXE=helloworld 27 | check_XCLBINS=vector_addition 28 | 29 | CHECKS=check 30 | 31 | include $(COMMON_REPO)/utility/rules.mk 32 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/helloworld_ocl/sdaccel.ini: -------------------------------------------------------------------------------- 1 | [Debug] 2 | profile=true 3 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/helloworld_ocl/xclbin/vector_addition.hw.xilinx_aws-vu9p-f1-04261818_dynamic_5_0.awsxclbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/helloworld_ocl/xclbin/vector_addition.hw.xilinx_aws-vu9p-f1-04261818_dynamic_5_0.awsxclbin -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/idct/description.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtime": ["OpenCL"], 3 | "example" : "Inverse Discrete Cosine Transform", 4 | "overview" : [ 5 | "Example shows an optimized Inverse Discrete Cosine Transfom. Optimizations are applied to the kernel as well as the host code." 6 | ], 7 | "os": [ 8 | "Linux" 9 | ], 10 | "nboard": ["xilinx_vcu1525_dynamic"], 11 | "host_exe": "idct", 12 | "host_srcs": "src/idct.cpp", 13 | "cmd_args" : "BUILD/krnl_idct.xclbin", 14 | "containers": [ 15 | { 16 | "name": "krnl_idct", 17 | "ldclflags": " --sp krnl_idct_1.m_axi_gmem0:bank0 --sp krnl_idct_1.m_axi_gmem1:bank0 --sp krnl_idct_1.m_axi_gmem2:bank1 --kernel_frequency 250", 18 | "accelerators": [ 19 | { 20 | "name": "krnl_idct", 21 | "location": "src/krnl_idct.cpp", 22 | "clflags" : "--xp prop:solution.hls_pre_tcl=src/hls_config.tcl" 23 | } 24 | ] 25 | } 26 | ], 27 | "contributors" : [ 28 | { 29 | "group": "Xilinx", 30 | "url" : "http://www.xilinx.com" 31 | } 32 | ], 33 | "sdx_gui": false 34 | } 35 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/idct/sdaccel.ini: -------------------------------------------------------------------------------- 1 | [Debug] 2 | profile=true 3 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/idct/src/hls_config.tcl: -------------------------------------------------------------------------------- 1 | config_rtl -mult_keep_attribute 2 | config_rtl -reset all -reset_async -reset_level low 3 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/idct/xclbin/krnl_idct.hw.xilinx_aws-vu9p-f1-04261818_dynamic_5_0.awsxclbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/idct/xclbin/krnl_idct.hw.xilinx_aws-vu9p-f1-04261818_dynamic_5_0.awsxclbin -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/idct/xclbin/krnl_idct_afi_id.txt: -------------------------------------------------------------------------------- 1 | { 2 | "FpgaImageId": "afi-028f76ef85d1042a9", 3 | "FpgaImageGlobalId": "agfi-07e4df754d59353ea" 4 | } 5 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/images/idct_lab/BuildButton.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/images/idct_lab/BuildButton.PNG -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/images/idct_lab/EndHLSReport.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/images/idct_lab/EndHLSReport.PNG -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/images/idct_lab/EndProfileSummary.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/images/idct_lab/EndProfileSummary.PNG -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/images/idct_lab/HLSReport.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/images/idct_lab/HLSReport.PNG -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/images/idct_lab/HWProfile.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/images/idct_lab/HWProfile.PNG -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/images/idct_lab/LatencyKrnlIdctDataflow2.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/images/idct_lab/LatencyKrnlIdctDataflow2.PNG -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/images/idct_lab/LatencyKrnlIdctDataflow3.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/images/idct_lab/LatencyKrnlIdctDataflow3.PNG -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/images/idct_lab/OutlineKrnl.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/images/idct_lab/OutlineKrnl.PNG -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/images/idct_lab/ProfileSummaryComp.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/images/idct_lab/ProfileSummaryComp.PNG -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/images/idct_lab/Reports.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/images/idct_lab/Reports.PNG -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/images/idct_lab/RunButton.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/images/idct_lab/RunButton.PNG -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/images/idct_lab/SDxWindows.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/images/idct_lab/SDxWindows.PNG -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/images/idct_lab/SWProfile.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/images/idct_lab/SWProfile.PNG -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/images/idct_lab/SWTimeline.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/images/idct_lab/SWTimeline.PNG -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/images/idct_lab/WorkspaceSetup.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/images/idct_lab/WorkspaceSetup.PNG -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/images/idct_lab/ZoomApplicationTimeline.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/images/idct_lab/ZoomApplicationTimeline.PNG -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/images/idct_lab/ZoomApplicationTimelineEnd.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/images/idct_lab/ZoomApplicationTimelineEnd.PNG -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/images/introduction/f1_platform.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/images/introduction/f1_platform.png -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/images/setup_lab/Continue_to_Launch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/images/setup_lab/Continue_to_Launch.png -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/images/setup_lab/Continue_to_Subscribe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/images/setup_lab/Continue_to_Subscribe.png -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/images/setup_lab/Continue_to_configuration.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/images/setup_lab/Continue_to_configuration.png -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/images/setup_lab/Instance_type.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/images/setup_lab/Instance_type.png -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/images/setup_lab/Launch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/images/setup_lab/Launch.png -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/images/setup_lab/create_security_group.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/images/setup_lab/create_security_group.png -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/images/setup_lab/keyring.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/images/setup_lab/keyring.png -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/images/setup_lab/keyring1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/images/setup_lab/keyring1.png -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/images/setup_lab/launch_with_console.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/images/setup_lab/launch_with_console.png -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/images/setup_lab/manual_launch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/images/setup_lab/manual_launch.png -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/images/setup_lab/refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/images/setup_lab/refresh.png -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/images/setup_lab/refresh1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/images/setup_lab/refresh1.png -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/images/setup_lab/refresh2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/images/setup_lab/refresh2.png -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/images/setup_lab/remote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/images/setup_lab/remote.png -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/images/setup_lab/remote1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/images/setup_lab/remote1.png -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/images/setup_lab/root_volume_storage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/images/setup_lab/root_volume_storage.png -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/images/setup_lab/start.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/images/setup_lab/start.png -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/images/setup_lab/start1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/images/setup_lab/start1.png -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/images/setup_lab/terminal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/images/setup_lab/terminal.png -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/workspace/.metadata/.lock -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/com.xilinx.sdsoc.ui/dialog_settings.xml: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | 5 |
6 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/com.xilinx.sdx.core/dialog_settings.xml: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 |
16 |
17 |
18 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/com.xilinx.sdx.npw/dialog_settings.xml: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.cdt.core/.log: -------------------------------------------------------------------------------- 1 | *** SESSION Apr 23, 2019 21:03:09.92 ------------------------------------------- 2 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.cdt.core/IDCT.1556053566386.pdom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.cdt.core/IDCT.1556053566386.pdom -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.cdt.core/IDCT_system.1556053566453.pdom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.cdt.core/IDCT_system.1556053566453.pdom -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.cdt.make.core/specs.c: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.cdt.make.core/specs.cpp: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.cdt.managedbuilder.core/spec.C: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.cdt.managedbuilder.core/spec.C -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.cdt.managedbuilder.core/spec.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.cdt.managedbuilder.core/spec.c -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.cdt.ui/dialog_settings.xml: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 |
5 |
6 |
7 |
8 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/IDCT/.indexes/e4/properties.index: -------------------------------------------------------------------------------- 1 | /src/krnl_idct.cpp7org.eclipse.ui.internal.registry.ResourceEditorRegistryEditorProperty!org.eclipse.cdt.ui.editor.CEditor /src/idct.cppEditorProperty!org.eclipse.cdt.ui.editor.CEditor -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/IDCT/.indexes/properties.index: -------------------------------------------------------------------------------- 1 | org.eclipse.cdt.coreactiveConfiguration-com.xilinx.sdx.opencl.config.sw_emu.966403294pdomNameIDCT.1556053566386.pdomsettingConfiguration-com.xilinx.sdx.opencl.config.sw_emu.966403294org.eclipse.cdt.make.corediscoveredScannerConfigFileNameIDCT.scorg.eclipse.team.core 2 | repository!org.eclipse.egit.core.GitProvider -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/IDCT/org.eclipse.egit.core/GitProjectData.properties: -------------------------------------------------------------------------------- 1 | #GitProjectData 2 | #Tue Apr 23 21:06:05 UTC 2019 3 | .gitdir=../../../.git 4 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/IDCT_system/.indexes/properties.index: -------------------------------------------------------------------------------- 1 | org.eclipse.cdt.coreactiveConfigurationBcom.xilinx.sdx.system.managedbuilder.debugConfiguration.1087331254pdomNameIDCT_system.1556053566453.pdomsettingConfigurationBcom.xilinx.sdx.system.managedbuilder.debugConfiguration.1087331254org.eclipse.team.core 2 | repository!org.eclipse.egit.core.GitProvider -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/IDCT_system/org.eclipse.egit.core/GitProjectData.properties: -------------------------------------------------------------------------------- 1 | #GitProjectData 2 | #Tue Apr 23 21:06:05 UTC 2019 3 | .gitdir=../../../.git 4 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/history.version: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index: -------------------------------------------------------------------------------- 1 | /org.eclipse.core.resourcescontentCacheState2contentCacheTimestamp 1555364700090org.eclipse.jdt.corestateVersionNumber30 -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.version: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.core.resources/.root/1.tree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.core.resources/.root/1.tree -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.xilinx.sdk.utils.prefs: -------------------------------------------------------------------------------- 1 | com.xilinx.sdk.preference.invokecount=1 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.core.prj-IDCT.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | indexer/indexAllFiles=true 3 | indexer/indexAllHeaderVersions=false 4 | indexer/indexImportLocation=.settings/cdt-index.zip 5 | indexer/indexOnOpen=false 6 | indexer/indexUnusedHeadersWithAlternateLang=false 7 | indexer/indexUnusedHeadersWithDefaultLang=true 8 | indexer/indexerId=com.xilinx.sdx.opencl.language.filteringFastIndexer 9 | indexer/preferenceScope=1 10 | indexer/skipFilesLargerThanMB=8 11 | indexer/skipImplicitReferences=false 12 | indexer/skipIncludedFilesLargerThanMB=16 13 | indexer/skipMacroReferences=false 14 | indexer/skipReferences=false 15 | indexer/skipTypeReferences=false 16 | indexer/useHeuristicIncludeResolution=true 17 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.core.prj-IDCT_system.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | indexer/preferenceScope=0 3 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.debug.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.cdt.debug.core.cDebug.default_source_containers=\n\n \n \n \n \n \n\n 3 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.ui.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | spelling_locale_initialized=true 3 | useAnnotationsPrefPage=true 4 | useQuickDiffPrefPage=true 5 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | version=1 3 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.debug.core.prefs: -------------------------------------------------------------------------------- 1 | //org.eclipse.debug.core.PREFERRED_DELEGATES/org.eclipse.cdt.launch.applicationLaunchType=org.eclipse.cdt.dsf.gdb.launch.localCLaunch,debug,;org.eclipse.cdt.cdi.launch.localCLaunch,run,; 2 | //org.eclipse.debug.core.PREFERRED_DELEGATES/org.eclipse.cdt.launch.attachLaunchType=org.eclipse.cdt.dsf.gdb.launch.attachCLaunch,debug,; 3 | //org.eclipse.debug.core.PREFERRED_DELEGATES/org.eclipse.cdt.launch.postmortemLaunchType=org.eclipse.cdt.dsf.gdb.launch.coreCLaunch,debug,; 4 | //org.eclipse.debug.core.PREFERRED_DELEGATES/org.eclipse.cdt.launch.remoteApplicationLaunchType=org.eclipse.rse.remotecdt.dsf.debug,debug,; 5 | eclipse.preferences.version=1 6 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.debug.ui.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.debug.ui.PREF_LAUNCH_PERSPECTIVES=\n\n 3 | preferredTargets=org.eclipse.cdt.debug.ui.toggleCBreakpointTarget,org.eclipse.cdt.debug.ui.toggleCDynamicPrintfTarget\:org.eclipse.cdt.debug.ui.toggleCBreakpointTarget| 4 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.egit.core.prefs: -------------------------------------------------------------------------------- 1 | GitRepositoriesView.GitDirectories=/home/centos/src/project_data/workshop_20183/nycsummit/aws-fpga-app-notes/.git\: 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs: -------------------------------------------------------------------------------- 1 | content_assist_proposals_background=247,247,247 2 | content_assist_proposals_foreground=44,44,44 3 | eclipse.preferences.version=1 4 | org.eclipse.jdt.internal.ui.navigator.layout=2 5 | org.eclipse.jdt.internal.ui.navigator.librariesnode=true 6 | org.eclipse.jdt.ui.formatterprofiles.version=13 7 | spelling_locale_initialized=true 8 | useAnnotationsPrefPage=true 9 | useQuickDiffPrefPage=true 10 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.rse.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.rse.systemtype.local.systemType.defaultUserId=centos 3 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.rse.ui.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.rse.preferences.order.connections=ip-172-31-29-133.Local 3 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.team.ui.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.team.ui.first_time=false 3 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.editors.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | overviewRuler_migration=migrated_3.1 3 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs: -------------------------------------------------------------------------------- 1 | PROBLEMS_FILTERS_MIGRATE=true 2 | eclipse.preferences.version=1 3 | platformState=1555364700090 4 | quickStart=false 5 | tipsAndTricks=true 6 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | showIntro=false 3 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs: -------------------------------------------------------------------------------- 1 | //org.eclipse.ui.commands/state/org.eclipse.ui.navigator.resources.nested.changeProjectPresentation/org.eclipse.ui.commands.radioState=false 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.dltk.core/Containers.dat: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.jdt.core/assumedExternalFilesCache: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.jdt.core/externalFilesCache: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.jdt.core/index.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.jdt.core/index.db -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.jdt.core/nonChainingJarsCache: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat: -------------------------------------------------------------------------------- 1 | JRE_LIB JRE_SRCROOT 2 | JUNIT_HOMEJRE_SRC ECLIPSE_HOMEJUNIT_SRC_HOME -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.jdt.ui/OpenTypeHistory.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.pde.core/.cache/clean-cache.properties: -------------------------------------------------------------------------------- 1 | #Cached timestamps 2 | #Wed Apr 24 17:10:50 UTC 2019 3 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.rse.core/.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.rse.core/.log -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.rse.core/initializerMarks/org.eclipse.rse.internal.core.RSELocalConnectionInitializer.mark: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.rse.core/initializerMarks/org.eclipse.rse.internal.core.RSELocalConnectionInitializer.mark -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.rse.core/profiles/PRF.ip-172-31-29-133_0/H.local_16/node.properties: -------------------------------------------------------------------------------- 1 | # RSE DOM Node 2 | 00-name=Local 3 | 01-type=Host 4 | 03-attr.description= 5 | 03-attr.hostname=LOCALHOST 6 | 03-attr.offline=false 7 | 03-attr.promptable=false 8 | 03-attr.systemType=org.eclipse.rse.systemtype.local 9 | 03-attr.type=Local 10 | 06-child.00000.00-name=Local Connector Service 11 | 06-child.00000.01-type=ConnectorService 12 | 06-child.00000.03-attr.group=Local Connector Service 13 | 06-child.00000.03-attr.port=0 14 | 06-child.00000.03-attr.useSSL=false 15 | 06-child.00000.06-child.00000.00-name=Local Files 16 | 06-child.00000.06-child.00000.01-type=SubSystem 17 | 06-child.00000.06-child.00000.03-attr.hidden=false 18 | 06-child.00000.06-child.00000.03-attr.type=local.files 19 | 06-child.00000.06-child.00000.06-child.00000.00-name=ip-172-31-29-133___ip-172-31-29-133\:local.files 20 | 06-child.00000.06-child.00000.06-child.00000.01-type=FilterPoolReference 21 | 06-child.00000.06-child.00000.06-child.00000.03-attr.refID=local.files 22 | 06-child.00000.06-child.00001.00-name=Local Shells 23 | 06-child.00000.06-child.00001.01-type=SubSystem 24 | 06-child.00000.06-child.00001.03-attr.hidden=false 25 | 06-child.00000.06-child.00001.03-attr.type=local.shells 26 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.rse.core/profiles/PRF.ip-172-31-29-133_0/node.properties: -------------------------------------------------------------------------------- 1 | # RSE DOM Node 2 | 00-name=ip-172-31-29-133 3 | 01-type=Profile 4 | 03-attr.defaultPrivate=true 5 | 03-attr.isActive=true 6 | 05-ref.00000=FP.local.files_0 7 | 05-ref.00001=H.local_16 8 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.rse.ui/.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.rse.ui/.log -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.tcf.debug/peers.ini: -------------------------------------------------------------------------------- 1 | ServiceManagerID=7fe8a745-ca95-4358-bcf4-8f5f86f684a4 2 | TransportName=TCP 3 | PeerTypeId=HARDWARE_SERVER 4 | UserName=centos 5 | Port=3121 6 | Host=127.0.0.1 7 | OSName=Linux 8 | ID=Local 9 | AgentID=7fe8a745-ca95-4358-bcf4-8f5f86f684a4 10 | Name=Local 11 | 12 | ServiceManagerID=7fe8a745-ca95-4358-bcf4-8f5f86f684a4 13 | TransportName=TCP 14 | PeerTypeId=LINUX_TCF_AGENT 15 | UserName=centos 16 | Port=1534 17 | Host=192.168.0.1 18 | OSName=Linux 19 | ID=Linux Agent 20 | AgentID=7fe8a745-ca95-4358-bcf4-8f5f86f684a4 21 | Name=Linux Agent 22 | 23 | ServiceManagerID=7fe8a745-ca95-4358-bcf4-8f5f86f684a4 24 | TransportName=TCP 25 | PeerTypeId=QEMU_TCF_GDB_CLIENT 26 | UserName=centos 27 | Port=1138 28 | Host=127.0.0.1 29 | OSName=Linux 30 | ID=QEMU 31 | AgentID=7fe8a745-ca95-4358-bcf4-8f5f86f684a4 32 | Name=QEMU 33 | 34 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.ui.workbench.texteditor/dialog_settings.xml: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | 5 | 6 |
7 |
8 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 |
16 | 17 | 18 | 19 | 20 | 21 |
22 |
23 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/.metadata/version.ini: -------------------------------------------------------------------------------- 1 | #Tue Apr 23 21:03:09 UTC 2019 2 | org.eclipse.core.runtime=2 3 | org.eclipse.platform=4.7.3.v20180330-0640 4 | com.xilinx.sdx.version=2018.3.0 5 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/IDCT/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | IDCT 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.cdt.managedbuilder.core.genmakebuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder 15 | full,incremental, 16 | 17 | 18 | 19 | 20 | 21 | com.xilinx.sdx.opencl.core.opencl 22 | org.eclipse.cdt.core.cnature 23 | org.eclipse.cdt.managedbuilder.core.managedBuildNature 24 | org.eclipse.cdt.core.ccnature 25 | org.eclipse.cdt.managedbuilder.core.ScannerConfigNature 26 | 27 | 28 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/IDCT/Emulation-HW/guidance.pb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/workspace/IDCT/Emulation-HW/guidance.pb -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/IDCT/Emulation-SW/guidance.pb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/workspace/IDCT/Emulation-SW/guidance.pb -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/IDCT/System/guidance.pb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/NYC_Summit18_Developer_Workshop/workspace/IDCT/System/guidance.pb -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/IDCT/src/hls_config.tcl: -------------------------------------------------------------------------------- 1 | config_rtl -mult_keep_attribute 2 | config_rtl -reset all -reset_async -reset_level low 3 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/IDCT_system/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | IDCT_system 4 | 5 | 6 | IDCT 7 | 8 | 9 | 10 | org.eclipse.cdt.managedbuilder.core.genmakebuilder 11 | 12 | 13 | 14 | 15 | org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder 16 | full,incremental, 17 | 18 | 19 | 20 | 21 | 22 | com.xilinx.sdx.system.systemprojectnature 23 | org.eclipse.cdt.core.cnature 24 | org.eclipse.cdt.managedbuilder.core.managedBuildNature 25 | org.eclipse.cdt.core.ccnature 26 | org.eclipse.cdt.managedbuilder.core.ScannerConfigNature 27 | 28 | 29 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/IDCT_system/project.sdxs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/RemoteSystemsTempFiles/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | RemoteSystemsTempFiles 4 | 5 | 6 | 7 | 8 | 9 | 10 | org.eclipse.rse.ui.remoteSystemsTempNature 11 | 12 | 13 | -------------------------------------------------------------------------------- /NYC_Summit18_Developer_Workshop/workspace/SDK.log: -------------------------------------------------------------------------------- 1 | 21:03:15 INFO : Registering command handlers for SDx TCF services 2 | 21:03:15 INFO : Registering command handlers for SDK TCF services 3 | 21:03:15 INFO : Launching XSCT server: xsct -n -sdx -interactive /home/centos/src/project_data/workshop_20183/nycsummit/aws-fpga-app-notes/NYC_Summit18_Developer_Workshop/workspace/temp_xsdb_launch_script.tcl 4 | 21:03:17 INFO : Validating SDSoC License... 5 | 21:03:18 INFO : License for SDSoC is unavailable 6 | 21:03:18 INFO : Validating SDAccel License... 7 | 21:03:18 INFO : License available for SDAccel 8 | 21:03:18 INFO : XSCT server has started successfully. 9 | 21:03:18 INFO : plnx-install-location is set to '' 10 | 21:03:18 INFO : Successfully done setting XSCT server connection channel 11 | 21:03:18 INFO : Successfully done query RDI_DATADIR 12 | 21:03:18 INFO : Successfully done setting SDK workspace 13 | -------------------------------------------------------------------------------- /Using-PCIM-Port/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 | # 4 | # Licensed under the Amazon Software License (the "License"). You may not use 5 | # this file except in compliance with the License. A copy of the License is 6 | # located at 7 | # 8 | # http://aws.amazon.com/asl/ 9 | # 10 | # or in the "license" file accompanying this file. This file is distributed on 11 | # an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or 12 | # implied. See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | 16 | obj-m += atg_driver.o 17 | 18 | all: 19 | make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules 20 | 21 | clean: 22 | make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean 23 | 24 | test: 25 | gcc -std=gnu99 -o atg_test atg_test.c 26 | 27 | -------------------------------------------------------------------------------- /Using-PCIe-Interrupts/Makefile: -------------------------------------------------------------------------------- 1 | obj-m += f1_driver.o 2 | 3 | all: 4 | make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules 5 | 6 | clean: 7 | make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean 8 | 9 | test: 10 | gcc -DCONFIG_LOGLEVEL=4 -std=gnu99 -g -Wall -I$(SDK_DIR)/userspace/include -o f1_test f1_test.c -lfpga_mgmt -lrt -lpthread 11 | 12 | 13 | reload: 14 | sudo fpga-clear-local-image -S 0 15 | sudo fpga-load-local-image -S 0 -I agfi-09c2a21805a8b9257 16 | sudo fpga-clear-local-image -S 0 17 | sudo fpga-load-local-image -S 0 -I agfi-02948a33d1a0e9665 18 | 19 | 20 | status: 21 | sudo lspci -vvv -xxx -s 0000:00:0f.0 22 | 23 | -------------------------------------------------------------------------------- /Using-PCIe-Peer2Peer/Makefile: -------------------------------------------------------------------------------- 1 | # Amazon FPGA Hardware Development Kit 2 | # 3 | # Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. 4 | # 5 | # Licensed under the Amazon Software License (the "License"). You may not use 6 | # this file except in compliance with the License. A copy of the License is 7 | # located at 8 | # 9 | # http://aws.amazon.com/asl/ 10 | # 11 | # or in the "license" file accompanying this file. This file is distributed on 12 | # an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or 13 | # implied. See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | INCLUDES = -I$(SDK_DIR)/userspace/include 17 | 18 | CC = gcc 19 | CFLAGS = -DCONFIG_LOGLEVEL=4 -std=gnu11 -g -Wall -Werror $(INCLUDES) 20 | 21 | LDLIBS = -lfpga_mgmt 22 | 23 | SRC = test_p2p_common.c test_p2p.c 24 | OBJ = $(SRC:.c=.o) 25 | 26 | 27 | 28 | test_p2p: $(OBJ) 29 | $(CC) $(CFLAGS) -o test_p2p test_p2p.o test_p2p_common.o $(LDFLAGS) $(LDLIBS) 30 | 31 | clean: 32 | rm -f *.o test_p2p 33 | 34 | check_env: 35 | ifndef SDK_DIR 36 | $(error SDK_DIR is undefined. Try "source sdk_setup.sh" to set the software environment) 37 | endif 38 | -------------------------------------------------------------------------------- /Using-PCIe-Peer2Peer/p2p.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/Using-PCIe-Peer2Peer/p2p.png -------------------------------------------------------------------------------- /Using-PCIe-Write-Combining/Makefile: -------------------------------------------------------------------------------- 1 | # Amazon FPGA Hardware Development Kit 2 | # 3 | # Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. 4 | # 5 | # Licensed under the Amazon Software License (the "License"). You may not use 6 | # this file except in compliance with the License. A copy of the License is 7 | # located at 8 | # 9 | # http://aws.amazon.com/asl/ 10 | # 11 | # or in the "license" file accompanying this file. This file is distributed on 12 | # an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or 13 | # implied. See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | #VPATH = src:include:$(HDK_DIR)/common/software/src:$(HDK_DIR)/common/software/include 17 | 18 | INCLUDES = -I$(SDK_DIR)/userspace/include 19 | 20 | CC = gcc 21 | CFLAGS = -DCONFIG_LOGLEVEL=4 -g -Wall $(INCLUDES) 22 | 23 | LDLIBS = -lfpga_mgmt -lrt -lpthread 24 | 25 | SRC = wc_perf.c 26 | OBJ = $(SRC:.c=.o) 27 | BIN = wc_perf 28 | 29 | all: $(BIN) check_env 30 | 31 | $(BIN): $(OBJ) 32 | $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(LDLIBS) 33 | 34 | clean: 35 | rm -f *.o $(BIN) 36 | 37 | check_env: 38 | ifndef SDK_DIR 39 | $(error SDK_DIR is undefined. Try "source sdk_setup.sh" to set the software environment) 40 | endif 41 | -------------------------------------------------------------------------------- /Using-PCIe-Write-Combining/Write-Combine-Performance.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/Using-PCIe-Write-Combining/Write-Combine-Performance.png -------------------------------------------------------------------------------- /reInvent17_Developer_Workshop/README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |

re:Invent 2017 Developer Workshop

Deprecated
9 | 10 | --------------------------------------- 11 | 12 | This workshop has been deprecated. Please use to [reInvent 2018 Developer Workshop](https://github.com/awslabs/aws-fpga-app-notes/blob/master/reInvent18_Developer_Workshop/README.md) and [NYC Summit 2018 Developer Workshop](https://github.com/awslabs/aws-fpga-app-notes/blob/master/NYC_Summit18_Developer_Workshop/README.md) to gain hands-on experience with AWS F1 and learn how to develop accelerated applications using the AWS F1 Software Defined Accelerator Development- SDAccel flow. 13 | 14 | --------------------------------------- 15 | 16 | -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/filter2D/README.md: -------------------------------------------------------------------------------- 1 | 2 | Version with 1 CU 3 | - make check NKERNEL=1 TARGET=sw_emu 4 | - make check NKERNEL=1 TARGET=hw_emu 5 | - make build NKERNEL=1 TARGET=hw 6 | - 250Mhz 7 | - ~31x faster than SW 8 | 9 | Version with 3 CUs 10 | - make check NKERNEL=3 TARGET=sw_emu 11 | - make check NKERNEL=3 TARGET=hw_emu 12 | - make build NKERNEL=3 TARGET=hw 13 | - 250Mhz 14 | - ~91x faster than SW 15 | 16 | Version with 6 CUs 17 | - make check NKERNEL=6 TARGET=sw_emu 18 | - make check NKERNEL=6 TARGET=hw_emu 19 | - make build NKERNEL=6 TARGET=hw 20 | - 213Mhz 21 | - ~135x faster than SW 22 | 23 | Note: 24 | - The run.sh script will run all 3 version back to back on the instance 25 | - It takes care of running as sudo, so no need to do sudo ./run.sh 26 | 27 | Note: 28 | - All kernel ports connected to default DDR bank 29 | - The more CUs, the more traffic on that DDR interface 30 | 31 | Note: 32 | - The SW version uses OpenMP pragma to parallelize computation, taking advantage of all CPU cores 33 | -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/filter2D/img/paris.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/filter2D/img/paris.bmp -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/filter2D/img/picadilly_1080p.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/filter2D/img/picadilly_1080p.bmp -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/filter2D/img/picadilly_1080p_out.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/filter2D/img/picadilly_1080p_out.bmp -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/filter2D/img/picadilly_1080p_ref.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/filter2D/img/picadilly_1080p_ref.bmp -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/filter2D/img/test.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/filter2D/img/test.bmp -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/filter2D/run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | function run_on_f1 { 4 | sudo sh -s -- < pixelWindow(width, height, stride); 15 | 16 | for(int y=0; y 4 | class Window2D { 5 | 6 | public: 7 | 8 | Window2D(unsigned short width, unsigned short height, unsigned short stride) 9 | { 10 | mWidth = width; 11 | mHeight = height; 12 | mStride = stride; 13 | } 14 | 15 | bool next(T *srcImg, unsigned x, unsigned y) 16 | { 17 | // Clamp pixels to 0 when outside of image 18 | for(int row=0; row=mWidth) || 26 | (yoffset<0) || (yoffset>=mHeight) ) { 27 | mPixelWindow[row][col] = 0; 28 | } else { 29 | mPixelWindow[row][col] = srcImg[yoffset*mStride+xoffset]; 30 | } 31 | } 32 | } 33 | 34 | return true; 35 | } 36 | 37 | T operator () (int row, int col) { 38 | return mPixelWindow[row][col]; 39 | } 40 | 41 | private: 42 | int mWidth; 43 | int mHeight; 44 | int mStride; 45 | T mPixelWindow[KERNEL_V_SIZE][KERNEL_H_SIZE]; 46 | }; 47 | -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/filter2D/src/host/xclbin_helper.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include 10 | #include 11 | #define CL_USE_DEPRECATED_OPENCL_1_2_APIS 12 | #include 13 | 14 | 15 | // This struct provides an 4k alligned memory allocator. Using this allocator 16 | // allows data objects to be aligned for efficient data transfer to the kernel. 17 | template 18 | struct aligned_allocator 19 | { 20 | using value_type = T; 21 | T* allocate(std::size_t num) 22 | { 23 | void* ptr = nullptr; 24 | if (posix_memalign(&ptr,4096,num*sizeof(T))) 25 | throw std::bad_alloc(); 26 | return reinterpret_cast(ptr); 27 | } 28 | void deallocate(T* p, std::size_t num) 29 | { 30 | free(p); 31 | } 32 | }; 33 | 34 | 35 | void load_xclbin_file( const char* filename, 36 | cl_context &context, 37 | cl_device_id &device, 38 | cl_program &program ); 39 | 40 | -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/filter2D/src/kernel/axi2stream.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define HLS_NO_XIL_FPO_LIB 4 | #include "ap_int.h" 5 | #include "hls_stream.h" 6 | 7 | #define AXIMM_DATA_WIDTH 512 8 | #define AXIMM_NUM_OUTSTANDING 4 9 | #define AXIMM_BURST_LENGTH 16 10 | 11 | typedef unsigned char U8; 12 | typedef unsigned short U16; 13 | typedef unsigned int U32; 14 | 15 | typedef signed char I8; 16 | typedef signed short I16; 17 | typedef signed int I32; 18 | 19 | typedef ap_uint* AXIMM; 20 | typedef hls::stream > STREAM_BYTES; 21 | typedef hls::stream STREAM_PIXELS; 22 | 23 | void AXIBursts2PixelStream( 24 | AXIMM axi, 25 | U16 WidthInBytes, 26 | U16 Height, 27 | U16 StrideInBytes, 28 | STREAM_PIXELS& stream); 29 | 30 | void PixelStream2AXIBursts( 31 | STREAM_PIXELS& stream, 32 | U16 WidthInBytes, 33 | U16 Height, 34 | U16 StrideInBytes, 35 | AXIMM aximm); 36 | 37 | -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/filter2D/src/kernel/filter2d.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | 6 | #define FILTER_KERNEL_V_SIZE 15 7 | #define FILTER_KERNEL_H_SIZE 15 8 | 9 | #define MAX_WIDTH (1920+FILTER_KERNEL_H_SIZE) 10 | 11 | #include "axi2stream.h" 12 | 13 | 14 | 15 | void readcoeffs(const ap_uint *srcCoeffs, short coeffs[15][15]); 16 | 17 | extern "C" { 18 | 19 | void Filter2DKernel( 20 | const ap_uint* coeffs, 21 | const ap_uint* src, 22 | unsigned int width, 23 | unsigned int height, 24 | unsigned int stride, 25 | ap_uint* dst ); 26 | 27 | } 28 | -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/filter2D/src/kernel/readcoeffs.cpp: -------------------------------------------------------------------------------- 1 | #include "filter2d.h" 2 | 3 | void readcoeffs(const ap_uint *srcCoeffs, short coeffs[15][15]) 4 | { 5 | #pragma HLS INLINE 6 | 7 | const unsigned NUM_512BIT_WORDS = ((FILTER_KERNEL_V_SIZE * FILTER_KERNEL_H_SIZE)*sizeof(short)+63)/64; 8 | 9 | ap_uint tmp[NUM_512BIT_WORDS]; 10 | #pragma HLS ARRAY_PARTITION variable=tmp complete dim=0 11 | 12 | // Burst the coefficient into a temp array of 512-bit words 13 | rd_coeffs: for (int i=0; i word = tmp[adr]; 29 | coeffs[i][j] = word((16*(idx+1))-1, 16*idx); 30 | 31 | if (idx==31) { 32 | idx=0; 33 | adr++; 34 | } else { 35 | idx++; 36 | } 37 | } 38 | } 39 | } -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/filter2D/xclbin/filter2d_1K_afi_id.txt: -------------------------------------------------------------------------------- 1 | { 2 | "FpgaImageId": "afi-00368c7359a322919", 3 | "FpgaImageGlobalId": "agfi-068e3d2c7f1a48b66" 4 | } 5 | -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/filter2D/xclbin/filter2d_3K_afi_id.txt: -------------------------------------------------------------------------------- 1 | { 2 | "FpgaImageId": "afi-09bc56ed68e6a8846", 3 | "FpgaImageGlobalId": "agfi-0fe9f6fb2371bdb8b" 4 | } 5 | -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/filter2D/xclbin/filter2d_6K_afi_id.txt: -------------------------------------------------------------------------------- 1 | { 2 | "FpgaImageId": "afi-051a95df149bc77d3", 3 | "FpgaImageGlobalId": "agfi-0a91aeae31ed61252" 4 | } 5 | -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/filter2D/xclbin/fpga1k.hw.xilinx_aws-vu9p-f1-04261818_dynamic_5_0.awsxclbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/filter2D/xclbin/fpga1k.hw.xilinx_aws-vu9p-f1-04261818_dynamic_5_0.awsxclbin -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/filter2D/xclbin/fpga3k.hw.xilinx_aws-vu9p-f1-04261818_dynamic_5_0.awsxclbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/filter2D/xclbin/fpga3k.hw.xilinx_aws-vu9p-f1-04261818_dynamic_5_0.awsxclbin -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/filter2D/xclbin/fpga6k.hw.xilinx_aws-vu9p-f1-04261818_dynamic_5_0.awsxclbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/filter2D/xclbin/fpga6k.hw.xilinx_aws-vu9p-f1-04261818_dynamic_5_0.awsxclbin -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/helloworld_c/description.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtime": ["OpenCL"], 3 | "example": "Hello World (HLS C/C++ Kernel)", 4 | "overview": [ 5 | "This is simple example of vector addition to describe how to use HLS kernels in Sdx Environment. This example highlights the concepts like PIPELINE which increases the kernel performance " 6 | ], 7 | "key_concepts": [ "HLS C Kernel", "OpenCL Host APIs"], 8 | "keywords": ["gmem", "bundle", "#pragma HLS INTERFACE", "m_axi", "s_axi4lite"], 9 | "os": [ 10 | "Linux" 11 | ], 12 | "libs": [ 13 | "xcl2" 14 | ], 15 | "host_exe": "host", 16 | "containers" : [ 17 | { 18 | "name" : "vadd", 19 | "accelerators": [ 20 | { 21 | "name": "vadd", 22 | "location": "src/vadd.cpp" 23 | } 24 | ] 25 | } 26 | ], 27 | "contributors" : [ 28 | { 29 | "group": "Xilinx", 30 | "url" : "http://www.xilinx.com" 31 | } 32 | ] 33 | } 34 | -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/helloworld_c/kernel_afi_files/helloworld_c_afi_id.txt: -------------------------------------------------------------------------------- 1 | { 2 | "FpgaImageId": "afi-087f6084f455e10be", 3 | "FpgaImageGlobalId": "agfi-024417d86951c14b5" 4 | } 5 | -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/helloworld_c/kernel_afi_files/vadd.hw.xilinx_aws-vu9p-f1-04261818_dynamic_5_0.awsxclbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/helloworld_c/kernel_afi_files/vadd.hw.xilinx_aws-vu9p-f1-04261818_dynamic_5_0.awsxclbin -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/helloworld_c/sdaccel.ini: -------------------------------------------------------------------------------- 1 | [Debug] 2 | profile=true 3 | -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/helloworld_ocl/description.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtime": ["OpenCL"], 3 | "example": "Hello World (CL)", 4 | "overview": [ 5 | "This example is a simple OpenCL application. It will highlight the basic flow of an OpenCL application." 6 | ], 7 | "key_concepts": [ "OpenCL API"], 8 | "os": [ 9 | "Linux" 10 | ], 11 | "libs": [ 12 | "xcl2" 13 | ], 14 | "host_exe": "helloworld", 15 | "containers": [ 16 | { 17 | "name": "vector_addition", 18 | "accelerators": [ 19 | { 20 | "name": "vector_add", 21 | "location": "src/vector_addition.cl" 22 | } 23 | ] 24 | } 25 | ], 26 | "contributors" : [ 27 | { 28 | "group": "Xilinx", 29 | "url" : "http://www.xilinx.com" 30 | } 31 | ] 32 | } 33 | -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/helloworld_ocl/sdaccel.ini: -------------------------------------------------------------------------------- 1 | [Debug] 2 | profile=true 3 | -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/helloworld_ocl/xclbin/vector_addition.hw.xilinx_aws-vu9p-f1-04261818_dynamic_5_0.awsxclbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/helloworld_ocl/xclbin/vector_addition.hw.xilinx_aws-vu9p-f1-04261818_dynamic_5_0.awsxclbin -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/hostcode_opt/auxFiles/opencl.mk: -------------------------------------------------------------------------------- 1 | # Definition of include file locations 2 | OPENCL12_INCLUDE:= $(XILINX_SDX)/runtime/include/1_2 3 | 4 | # Library directories 5 | SDA_LIB:=$(XILINX_SDX)/lib/lnx64.o 6 | 7 | opencl_CXXFLAGS=-I$(OPENCL12_INCLUDE) 8 | 9 | OPENCL_LIB:=$(XILINX_SDX)/runtime/lib/x86_64 10 | opencl_LDFLAGS=-L$(OPENCL_LIB) -L$(SDA_LIB) -lOpenCL -pthread 11 | -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/hostcode_opt/auxFiles/parsexpmf.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | 3 | import sys 4 | import xml.etree.ElementTree 5 | 6 | def vbnv(root): 7 | v = root.attrib['{http://www.xilinx.com/sdx}vendor'] 8 | b = root.attrib['{http://www.xilinx.com/sdx}library'] 9 | n = root.attrib['{http://www.xilinx.com/sdx}name'] 10 | r = root.attrib['{http://www.xilinx.com/sdx}version'] 11 | 12 | return ':'.join([v,b,n,r]) 13 | 14 | def hw(root): 15 | xpath = './{http://www.xilinx.com/sdx}hardwarePlatforms/{http://www.xilinx.com/sdx}hardwarePlatform' 16 | sdx = root.find(xpath).attrib 17 | 18 | dir = sdx['{http://www.xilinx.com/sdx}path'] 19 | dsa = sdx['{http://www.xilinx.com/sdx}name'] 20 | 21 | return dir + '/' + dsa 22 | 23 | file = sys.argv[1] 24 | mode = sys.argv[2] 25 | 26 | tree = xml.etree.ElementTree.parse(file) 27 | 28 | root = tree.getroot() 29 | 30 | if mode == "dsa": 31 | print vbnv(root) 32 | 33 | if mode == "hw": 34 | print hw(root) 35 | -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/hostcode_opt/auxFiles/plot.txt: -------------------------------------------------------------------------------- 1 | set key autotitle columnhead 2 | set logscale x 2 3 | set style line 1 \ 4 | linecolor rgb '#0060ad' \ 5 | linetype 1 linewidth 2 \ 6 | pointtype 7 pointsize 1.5 7 | 8 | plot "runBuf/results.csv" with linespoints linestyle 1 9 | 10 | -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/hostcode_opt/auxFiles/run.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | import re 4 | import subprocess 5 | 6 | def extract( fields, line ): 7 | m = re.match(r"\s*(.*):\s(\d+.\d+|\d+|true|false)", line) 8 | if m: 9 | fields[m.group(1)] = m.group(2); 10 | 11 | 12 | out = open('results.csv', 'w') 13 | 14 | out.write('"Bytes per Transfer", "FPGA Throughput"') 15 | out.write("\n") 16 | 17 | for i in range(8, 20): 18 | fields = {} 19 | buffersize = 1 << i 20 | print (" Running with argument %s transfers %s bytes" % (i, buffersize*512/8)) 21 | run = subprocess.Popen(['./pass', '../xclbin/pass.hw.xilinx_aws-vu9p-f1-04261818_dynamic_5_0.awsxclbin', str(i)], stdout = subprocess.PIPE) 22 | for line in iter(run.stdout.readline, ''): 23 | extract ( fields , line.rstrip()) 24 | s="" 25 | s += '%s, %s' % ( fields["Bytes per Transfer"], fields["FPGA Throughput"]) 26 | out.write(s) 27 | out.write("\n") 28 | 29 | 30 | -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/hostcode_opt/auxFiles/sdaccel.ini: -------------------------------------------------------------------------------- 1 | [Debug] 2 | profile=true 3 | timeline_trace=true 4 | data_transfer_trace=coarse 5 | stall_trace=all 6 | -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/hostcode_opt/srcCommon/AlignedAllocator.h: -------------------------------------------------------------------------------- 1 | #ifndef __ALIGNEDALLOCATOR_H__ 2 | #define __ALIGNEDALLOCATOR_H__ 3 | 4 | 5 | /* *************************************************************************** 6 | 7 | AlignedAllocator 8 | 9 | This struct provides an 4k alligned memory allocator. Using this 10 | allocator allows data objects to be aligned for efficient data 11 | transfer to the kernel. 12 | 13 | The struct provides an allocate and deallocate function 14 | 15 | *************************************************************************** */ 16 | template 17 | struct AlignedAllocator 18 | { 19 | using value_type = T; 20 | T* allocate(std::size_t num) 21 | { 22 | void* ptr = nullptr; 23 | if (posix_memalign(&ptr,4096,num*sizeof(T))) 24 | throw std::bad_alloc(); 25 | return reinterpret_cast(ptr); 26 | } 27 | void deallocate(T* p, std::size_t num) 28 | { 29 | free(p); 30 | } 31 | }; 32 | 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/hostcode_opt/xclbin/pass.hw.xilinx_aws-vu9p-f1-04261818_dynamic_5_0.awsxclbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/hostcode_opt/xclbin/pass.hw.xilinx_aws-vu9p-f1-04261818_dynamic_5_0.awsxclbin -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/hostcode_opt/xclbin/pass_afi_id.txt: -------------------------------------------------------------------------------- 1 | { 2 | "FpgaImageId": "afi-021273ccfb8d8ef52", 3 | "FpgaImageGlobalId": "agfi-0a1afc1381533876a" 4 | } 5 | -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/AddCustomPlatform.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/AddCustomPlatform.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/AddHW.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/AddHW.png -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/AddHardwareFunction.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/AddHardwareFunction.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/ApplicationTimeline_helloworld_c.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/ApplicationTimeline_helloworld_c.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/ApplicationTimeline_loop4.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/ApplicationTimeline_loop4.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/Application_timeline_helloworld_c_HWEMU.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/Application_timeline_helloworld_c_HWEMU.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/Binary_container.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/Binary_container.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/Build.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/Build.png -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/CreateApplicationProject.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/CreateApplicationProject.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/Debug.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/Debug.png -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/DebugConfig_EnableAppTimeline.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/DebugConfig_EnableAppTimeline.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/Guidance_helloworld_c_HWEMU.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/Guidance_helloworld_c_HWEMU.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/HLSReport_Helloworld_c_HWEMU.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/HLSReport_Helloworld_c_HWEMU.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/HostCpp_expanded.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/HostCpp_expanded.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/ImportSRC.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/ImportSRC.png -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/ImportSources.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/ImportSources.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/ImportSources_2.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/ImportSources_2.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/PlusSign.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/PlusSign.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/ProfileSummary_helloworld_c_HWEMU.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/ProfileSummary_helloworld_c_HWEMU.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/ProjectName.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/ProjectName.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/Resume.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/Resume.png -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/Run.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/Run.png -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/SDxGUI_Test.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/SDxGUI_Test.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/SrcExpanded.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/SrcExpanded.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/StepOver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/StepOver.png -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/Templates.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/Templates.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/TimelineSW.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/TimelineSW.png -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/TimelineSW_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/TimelineSW_4.png -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/ToggleBreakPoint_line73.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/SDAccelGUI_INTRO/ToggleBreakPoint_line73.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/filter2d_lab/AddHW.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/filter2d_lab/AddHW.png -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/filter2d_lab/Build.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/filter2d_lab/Build.png -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/filter2d_lab/BuildButton.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/filter2d_lab/BuildButton.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/filter2d_lab/HW_Emu_Reports.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/filter2d_lab/HW_Emu_Reports.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/filter2d_lab/ImportSourcesButton.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/filter2d_lab/ImportSourcesButton.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/filter2d_lab/Outline.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/filter2d_lab/Outline.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/filter2d_lab/PRC_1kernel_1img.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/filter2d_lab/PRC_1kernel_1img.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/filter2d_lab/ReportsAssistant.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/filter2d_lab/ReportsAssistant.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/filter2d_lab/RunButton.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/filter2d_lab/RunButton.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/filter2d_lab/RunConfiguration.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/filter2d_lab/RunConfiguration.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/filter2d_lab/RunResult.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/filter2d_lab/RunResult.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/filter2d_lab/SDxProjectCreateApplication.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/filter2d_lab/SDxProjectCreateApplication.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/filter2d_lab/SDxProjectCreateCustomPlatform.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/filter2d_lab/SDxProjectCreateCustomPlatform.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/filter2d_lab/SDxProjectCreateGccHostCompilerExpertSettings.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/filter2d_lab/SDxProjectCreateGccHostCompilerExpertSettings.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/filter2d_lab/SDxProjectCreateGccHostLinkerExpertSettings.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/filter2d_lab/SDxProjectCreateGccHostLinkerExpertSettings.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/filter2d_lab/SDxProjectCreateImportSrc.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/filter2d_lab/SDxProjectCreateImportSrc.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/filter2d_lab/SDxProjectCreateMapKernelFunctions.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/filter2d_lab/SDxProjectCreateMapKernelFunctions.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/filter2d_lab/SDxProjectCreateName.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/filter2d_lab/SDxProjectCreateName.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/filter2d_lab/SDxProjectCreateRunArguments.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/filter2d_lab/SDxProjectCreateRunArguments.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/filter2d_lab/SDxProjectCreateSystemConfiguration.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/filter2d_lab/SDxProjectCreateSystemConfiguration.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/filter2d_lab/SDxProjectCreateTemplates.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/filter2d_lab/SDxProjectCreateTemplates.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/filter2d_lab/SDxProjectDefault.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/filter2d_lab/SDxProjectDefault.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/filter2d_lab/SDxWelcome.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/filter2d_lab/SDxWelcome.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/filter2d_lab/SDxWindows.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/filter2d_lab/SDxWindows.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/filter2d_lab/SetNumComputeUnits.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/filter2d_lab/SetNumComputeUnits.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/filter2d_lab/Timeline_1kernel_1img.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/filter2d_lab/Timeline_1kernel_1img.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/filter2d_lab/Timeline_3kernel_1img.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/filter2d_lab/Timeline_3kernel_1img.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/filter2d_lab/Timeline_3kernel_2img.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/filter2d_lab/Timeline_3kernel_2img.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/filter2d_lab/Timeline_3kernel_2img_improved.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/filter2d_lab/Timeline_3kernel_2img_improved.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/hostcode_opt/OrderedQueue.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/hostcode_opt/OrderedQueue.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/hostcode_opt/OutOfOrderQueue.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/hostcode_opt/OutOfOrderQueue.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/hostcode_opt/clEventSync.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/hostcode_opt/clEventSync.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/hostcode_opt/clFinish.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/hostcode_opt/clFinish.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/hostcode_opt/stepFunc.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/hostcode_opt/stepFunc.PNG -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/introduction/f1_platform.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/introduction/f1_platform.png -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/setup_lab/Continue_to_Launch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/setup_lab/Continue_to_Launch.png -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/setup_lab/Continue_to_Subscribe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/setup_lab/Continue_to_Subscribe.png -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/setup_lab/Continue_to_configuration.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/setup_lab/Continue_to_configuration.png -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/setup_lab/Instance_type.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/setup_lab/Instance_type.png -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/setup_lab/Launch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/setup_lab/Launch.png -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/setup_lab/create_security_group.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/setup_lab/create_security_group.png -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/setup_lab/keyring.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/setup_lab/keyring.png -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/setup_lab/keyring1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/setup_lab/keyring1.png -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/setup_lab/launch_with_console.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/setup_lab/launch_with_console.png -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/setup_lab/manual_launch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/setup_lab/manual_launch.png -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/setup_lab/refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/setup_lab/refresh.png -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/setup_lab/refresh1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/setup_lab/refresh1.png -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/setup_lab/refresh2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/setup_lab/refresh2.png -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/setup_lab/remote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/setup_lab/remote.png -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/setup_lab/remote1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/setup_lab/remote1.png -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/setup_lab/root_volume_storage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/setup_lab/root_volume_storage.png -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/setup_lab/start.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/setup_lab/start.png -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/setup_lab/start1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/setup_lab/start1.png -------------------------------------------------------------------------------- /reInvent18_Developer_Workshop/images/setup_lab/terminal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent18_Developer_Workshop/images/setup_lab/terminal.png -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/images/module_01/lab_02_idct/BuildButton.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/images/module_01/lab_02_idct/BuildButton.PNG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/images/module_01/lab_02_idct/EndHLSReport.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/images/module_01/lab_02_idct/EndHLSReport.PNG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/images/module_01/lab_02_idct/EndProfileSummary.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/images/module_01/lab_02_idct/EndProfileSummary.PNG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/images/module_01/lab_02_idct/HLSReport.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/images/module_01/lab_02_idct/HLSReport.PNG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/images/module_01/lab_02_idct/HWProfile.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/images/module_01/lab_02_idct/HWProfile.PNG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/images/module_01/lab_02_idct/LatencyKrnlIdctDataflow.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/images/module_01/lab_02_idct/LatencyKrnlIdctDataflow.PNG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/images/module_01/lab_02_idct/LatencyKrnlIdctDataflow2.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/images/module_01/lab_02_idct/LatencyKrnlIdctDataflow2.PNG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/images/module_01/lab_02_idct/LatencyKrnlIdctDataflow3.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/images/module_01/lab_02_idct/LatencyKrnlIdctDataflow3.PNG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/images/module_01/lab_02_idct/OutlineKrnl.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/images/module_01/lab_02_idct/OutlineKrnl.PNG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/images/module_01/lab_02_idct/OutlineKrnl_183.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/images/module_01/lab_02_idct/OutlineKrnl_183.PNG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/images/module_01/lab_02_idct/ProfileSummaryComp.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/images/module_01/lab_02_idct/ProfileSummaryComp.PNG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/images/module_01/lab_02_idct/Reports.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/images/module_01/lab_02_idct/Reports.PNG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/images/module_01/lab_02_idct/Reports_183.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/images/module_01/lab_02_idct/Reports_183.PNG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/images/module_01/lab_02_idct/RunButton.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/images/module_01/lab_02_idct/RunButton.PNG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/images/module_01/lab_02_idct/SDxWindows.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/images/module_01/lab_02_idct/SDxWindows.PNG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/images/module_01/lab_02_idct/SWProfile.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/images/module_01/lab_02_idct/SWProfile.PNG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/images/module_01/lab_02_idct/SWTimeline.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/images/module_01/lab_02_idct/SWTimeline.PNG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/images/module_01/lab_02_idct/WorkspaceSetup.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/images/module_01/lab_02_idct/WorkspaceSetup.PNG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/images/module_01/lab_02_idct/ZoomApplicationTimeline.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/images/module_01/lab_02_idct/ZoomApplicationTimeline.PNG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/images/module_01/lab_02_idct/ZoomApplicationTimelineEnd.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/images/module_01/lab_02_idct/ZoomApplicationTimelineEnd.PNG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/images/module_01/lab_02_idct/import_prj.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/images/module_01/lab_02_idct/import_prj.png -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/images/module_01/lab_02_idct/import_prj_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/images/module_01/lab_02_idct/import_prj_2.png -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/images/module_01/overview/f1_platform.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/images/module_01/overview/f1_platform.png -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/images/setup/keyring.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/images/setup/keyring.png -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/images/setup/keyring1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/images/setup/keyring1.png -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/images/setup/refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/images/setup/refresh.png -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/images/setup/refresh1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/images/setup/refresh1.png -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/images/setup/refresh2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/images/setup/refresh2.png -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/images/setup/remote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/images/setup/remote.png -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/images/setup/remote1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/images/setup/remote1.png -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/images/setup/start.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/images/setup/start.png -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/images/setup/start1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/images/setup/start1.png -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/images/setup/terminal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/images/setup/terminal.png -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_01/helloworld/src/xcl2.mk: -------------------------------------------------------------------------------- 1 | xcl2_SRCS:=${COMMON_REPO}/libs/xcl2/xcl2.cpp 2 | xcl2_HDRS:=${COMMON_REPO}/libs/xcl2/xcl2.hpp 3 | 4 | xcl2_CXXFLAGS:=-I${COMMON_REPO}/libs/xcl2 5 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_01/helloworld/xclbin/19_12_19-215209_afi_id.txt: -------------------------------------------------------------------------------- 1 | { 2 | "FpgaImageId": "afi-036e093268f857aad", 3 | "FpgaImageGlobalId": "agfi-08025ce1d75d038c0" 4 | } 5 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_01/helloworld/xclbin/vector_addition_hw.awsxclbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/modules/module_01/helloworld/xclbin/vector_addition_hw.awsxclbin -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_01/helloworld/xrt.ini: -------------------------------------------------------------------------------- 1 | [Debug] 2 | profile=true 3 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_01/idct/xclbin/19_12_18-170118_afi_id.txt: -------------------------------------------------------------------------------- 1 | { 2 | "FpgaImageId": "afi-014f8e35d6d00344c", 3 | "FpgaImageGlobalId": "agfi-0d61916a0ef1d9cbb" 4 | } 5 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_01/idct/xclbin/krnl_idct.hw.awsxclbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/modules/module_01/idct/xclbin/krnl_idct.hw.awsxclbin -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_01/idct/xrt.ini: -------------------------------------------------------------------------------- 1 | [Debug] 2 | profile = true 3 | timeline_trace=true 4 | data_transfer_trace=off 5 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_02/cpu_src/Makefile: -------------------------------------------------------------------------------- 1 | 2 | SRCDIR := . 3 | 4 | include common.mk 5 | 6 | build: host 7 | 8 | run: build 9 | ./host 100000 10 | 11 | run_fpga: 12 | make --no-print-directory -C ../makefile run STEP=sw_overlap ITER=16 SOLUTION=1 13 | 14 | help: 15 | echo " " 16 | @echo " Makefile Usage:" 17 | @echo " " 18 | @echo " Run Part 1 - Step 1 : make run " 19 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_02/cpu_src/common.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | unsigned int MurmurHash2(const void* key ,int len,unsigned int seed); 4 | 5 | void runOnCPU ( 6 | unsigned int* doc_sizes, 7 | unsigned int* input_doc_words, 8 | unsigned int* bloom_filter, 9 | unsigned long* profile_weights, 10 | unsigned long* profile_score, 11 | unsigned int total_num_docs, 12 | unsigned int total_size); 13 | 14 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_02/cpu_src/common.mk: -------------------------------------------------------------------------------- 1 | 2 | host: $(SRCDIR)/*.cpp $(SRCDIR)/*.c $(SRCDIR)/*.h 3 | g++ -D__USE_XOPEN2K8 -D__USE_XOPEN2K8 \ 4 | -I$(SRCDIR) \ 5 | -O3 -Wall -fmessage-length=0 -std=c++11\ 6 | $(SRCDIR)/compute_score_host.cpp \ 7 | $(SRCDIR)/MurmurHash2.c \ 8 | $(SRCDIR)/main.cpp \ 9 | -o ./host 10 | 11 | 12 | clean: 13 | rm -rf temp_dir log_dir report_dir *log host runOnfpga* *.csv *summary .run .Xil vitis* *jou xilinx* 14 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_02/cpu_src/sizes.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define hash_bloom 0x7ffff 4 | #define bloom_size 14 5 | #define docTag 0xffffffff 6 | 7 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_02/images/double_buffer_timeline_trace.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/modules/module_02/images/double_buffer_timeline_trace.PNG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_02/images/generic_buffer_timeline_trace.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/modules/module_02/images/generic_buffer_timeline_trace.PNG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_02/images/iter_generic.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/modules/module_02/images/iter_generic.PNG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_02/images/kernel_execution_time.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/modules/module_02/images/kernel_execution_time.png -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_02/images/overlap_aws.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/modules/module_02/images/overlap_aws.PNG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_02/images/overlap_double_buffer.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/modules/module_02/images/overlap_double_buffer.PNG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_02/images/overlap_single_buffer.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/modules/module_02/images/overlap_single_buffer.PNG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_02/images/overlap_split_buffer.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/modules/module_02/images/overlap_split_buffer.PNG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_02/images/overlap_sw_overlap.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/modules/module_02/images/overlap_sw_overlap.PNG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_02/images/single_buffer_timeline_trace.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/modules/module_02/images/single_buffer_timeline_trace.PNG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_02/images/sw_overlap_aws.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/modules/module_02/images/sw_overlap_aws.PNG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_02/images/sw_overlap_timeline_trace.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/modules/module_02/images/sw_overlap_timeline_trace.PNG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_02/makefile/common.mk: -------------------------------------------------------------------------------- 1 | SHELL := /bin/sh 2 | host: $(SRCDIR)/*.cpp $(SRCDIR)/*.c $(SRCDIR)/*.h 3 | mkdir -p $(BUILDDIR) 4 | g++ -D__USE_XOPEN2K8 -D__USE_XOPEN2K8 -I$(XILINX_XRT)/include -I$(SRCDIR) -O3 -Wall -fmessage-length=0 -std=c++11 \ 5 | $(HOST_SRC_CPP) \ 6 | -L$(XILINX_XRT)/lib/ \ 7 | -lxilinxopencl -lpthread -lrt \ 8 | -o $(BUILDDIR)/host 9 | 10 | emconfig.json: 11 | cp $(SRCDIR)/emconfig.json . 12 | 13 | xclbin: runOnfpga_$(TARGET).xclbin 14 | 15 | xo: runOnfpga_$(TARGET).xo 16 | 17 | clean: 18 | rm -rf temp_dir log_dir ../build report_dir *log host *.csv *summary .run .Xil vitis* *jou xilinx* 19 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_02/makefile/runOnfpga_hw.awsxclbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/modules/module_02/makefile/runOnfpga_hw.awsxclbin -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_02/makefile/xrt.ini: -------------------------------------------------------------------------------- 1 | [Emulation] 2 | launch_waveform=off 3 | [Debug] 4 | profile=true 5 | timeline_trace=true 6 | data_transfer=fine 7 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_02/reference_files/common.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | unsigned int MurmurHash2(const void* key ,int len,unsigned int seed); 4 | 5 | void runOnCPU ( 6 | unsigned int* doc_sizes, 7 | unsigned int* input_doc_words, 8 | unsigned int* bloom_filter, 9 | unsigned long* profile_weights, 10 | unsigned long* profile_score, 11 | unsigned int total_num_docs, 12 | unsigned int total_size); 13 | 14 | void runOnFPGA( 15 | unsigned int* doc_sizes, 16 | unsigned int* input_doc_words, 17 | unsigned int* bloom_filter, 18 | unsigned long* profile_weights, 19 | unsigned long* profile_score, 20 | unsigned int total_num_docs, 21 | unsigned int total_doc_size, 22 | int num_iter); 23 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_02/reference_files/sizes.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define hash_bloom 0x7ffff 4 | #define bloom_size 14 5 | #define docTag 0xffffffff 6 | 7 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_02/src/generic_buffer/common.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | unsigned int MurmurHash2(const void* key ,int len,unsigned int seed); 4 | 5 | void runOnCPU ( 6 | unsigned int* doc_sizes, 7 | unsigned int* input_doc_words, 8 | unsigned int* bloom_filter, 9 | unsigned long* profile_weights, 10 | unsigned long* profile_score, 11 | unsigned int total_num_docs, 12 | unsigned int total_size); 13 | 14 | void runOnFPGA( 15 | unsigned int* doc_sizes, 16 | unsigned int* input_doc_words, 17 | unsigned int* bloom_filter, 18 | unsigned long* profile_weights, 19 | unsigned long* profile_score, 20 | unsigned int total_num_docs, 21 | unsigned int total_doc_size, 22 | int num_iter); 23 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_02/src/generic_buffer/sizes.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define hash_bloom 0x7ffff 4 | #define bloom_size 14 5 | #define docTag 0xffffffff 6 | 7 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_02/src/single_buffer/common.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | unsigned int MurmurHash2(const void* key ,int len,unsigned int seed); 4 | 5 | void runOnCPU ( 6 | unsigned int* doc_sizes, 7 | unsigned int* input_doc_words, 8 | unsigned int* bloom_filter, 9 | unsigned long* profile_weights, 10 | unsigned long* profile_score, 11 | unsigned int total_num_docs, 12 | unsigned int total_size); 13 | 14 | void runOnFPGA( 15 | unsigned int* doc_sizes, 16 | unsigned int* input_doc_words, 17 | unsigned int* bloom_filter, 18 | unsigned long* profile_weights, 19 | unsigned long* profile_score, 20 | unsigned int total_num_docs, 21 | unsigned int total_doc_size, 22 | int num_iter); 23 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_02/src/single_buffer/sizes.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define hash_bloom 0x7ffff 4 | #define bloom_size 14 5 | #define docTag 0xffffffff 6 | 7 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_02/src/split_buffer/common.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | unsigned int MurmurHash2(const void* key ,int len,unsigned int seed); 4 | 5 | void runOnCPU ( 6 | unsigned int* doc_sizes, 7 | unsigned int* input_doc_words, 8 | unsigned int* bloom_filter, 9 | unsigned long* profile_weights, 10 | unsigned long* profile_score, 11 | unsigned int total_num_docs, 12 | unsigned int total_size); 13 | 14 | void runOnFPGA( 15 | unsigned int* doc_sizes, 16 | unsigned int* input_doc_words, 17 | unsigned int* bloom_filter, 18 | unsigned long* profile_weights, 19 | unsigned long* profile_score, 20 | unsigned int total_num_docs, 21 | unsigned int total_doc_size, 22 | int num_iter); 23 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_02/src/split_buffer/sizes.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define hash_bloom 0x7ffff 4 | #define bloom_size 14 5 | #define docTag 0xffffffff 6 | 7 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_02/src/sw_overlap/common.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | unsigned int MurmurHash2(const void* key ,int len,unsigned int seed); 4 | 5 | void runOnCPU ( 6 | unsigned int* doc_sizes, 7 | unsigned int* input_doc_words, 8 | unsigned int* bloom_filter, 9 | unsigned long* profile_weights, 10 | unsigned long* profile_score, 11 | unsigned int total_num_docs, 12 | unsigned int total_size); 13 | 14 | void runOnFPGA( 15 | unsigned int* doc_sizes, 16 | unsigned int* input_doc_words, 17 | unsigned int* bloom_filter, 18 | unsigned long* profile_weights, 19 | unsigned long* profile_score, 20 | unsigned int total_num_docs, 21 | unsigned int total_doc_size, 22 | int num_iter); 23 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_02/src/sw_overlap/sizes.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define hash_bloom 0x7ffff 4 | #define bloom_size 14 5 | #define docTag 0xffffffff 6 | 7 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/cpu_src/Makefile: -------------------------------------------------------------------------------- 1 | HEADERS=common.h filters.h types.h kernels.h constants.h 2 | SOURCES=common.cpp convolve.cpp main.cpp grayscale_kernel.cpp convolve_kernel.cpp 3 | OBJECTS=$(addprefix build/,$(SOURCES:.cpp=.o)) 4 | 5 | CXX_FLAGS=-std=c++0x -O3 -pg 6 | LD_FLAGS=-O3 -pg 7 | 8 | convolve: $(OBJECTS) 9 | $(CXX) $(LD_FLAGS) $^ -o $@ 10 | 11 | build/%.o: %.cpp $(HEADERS) 12 | @mkdir -p build 13 | $(CXX) $(CXX_FLAGS) $< -c -o $@ 14 | 15 | golden: convolve 16 | ./convolve ../video.mp4 -o output_full.mp4; 17 | ./convolve ../video.mp4 --scale 512 10 --nframes 1 -o output_small.mp4; 18 | ./convolve ../video.mp4 --scale 512 40 --nframes 1 -o output_small_40.mp4; 19 | cp output_full.mp4 ../golden_out_full.mp4; 20 | cp output_small.mp4 ../golden_out_small.mp4; 21 | cp output_small_40.mp4 ../golden_out_small_40.mp4; 22 | 23 | clean: 24 | rm -f build/*.o 25 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/cpu_src/constants.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define MAX_WIDTH 1280 4 | #define MAX_FILTER 19 5 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/cpu_src/grayscale_kernel.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "constants.h" 3 | #include "kernels.h" 4 | #include "types.h" 5 | 6 | extern "C" 7 | { 8 | 9 | void grayscale_cpu(const RGBPixel* inFrame, GrayPixel* outFrame, int img_height, int img_width) 10 | { 11 | for (int pixel = 0; pixel < img_height * img_width; ++pixel) 12 | { 13 | GrayPixel gray = (inFrame[pixel].r * 0.30) + //red 14 | (inFrame[pixel].g * 0.59) + // green 15 | (inFrame[pixel].b * 0.11); // blue 16 | outFrame[pixel] = gray; 17 | } 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/cpu_src/kernels.h: -------------------------------------------------------------------------------- 1 | 2 | #include "types.h" 3 | 4 | extern "C" { 5 | // Convolve RGB video frame with input filter 6 | void convolve_cpu(const RGBPixel* inFrame, RGBPixel* outFrame, const float* filter, int filter_size, int img_width, int img_height); 7 | // Convert RGB video frame to grayscale 8 | void grayscale_cpu(const RGBPixel* inFrame, GrayPixel* outFrame, int img_width, int img_height); 9 | 10 | // Convolve RGB video frame with input filter 11 | void convolve_fpga(const RGBPixel* inFrame, RGBPixel* outFrame, const float* filter, int filter_size, int img_width, int img_height); 12 | // Convert RGB video frame to grayscale 13 | void grayscale_fpga(const RGBPixel* inFrame, GrayPixel* outFrame, int img_width, int img_height); 14 | } 15 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/cpu_src/main.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "common.h" 3 | #include "constants.h" 4 | #include "filters.h" 5 | 6 | #include 7 | #include 8 | #include 9 | #include 10 | 11 | using std::chrono::duration; 12 | using std::chrono::system_clock; 13 | using std::tie; 14 | 15 | int main(int argc, char* argv[]) { 16 | // Parse command line 17 | arguments opt = parse_args(argc, argv); 18 | int input_size = opt.width * opt.height * sizeof(RGBPixel); 19 | 20 | FILE *streamIn, *streamOut; 21 | tie(streamIn, streamOut) = get_streams(opt); 22 | 23 | float* coefficients = gaussian; 24 | int coefficient_size = 3; 25 | 26 | printf("Processing %d frames of %s ...\n", opt.nframes, opt.input_file); 27 | 28 | auto start = system_clock::now(); 29 | convolve(streamIn, streamOut, coefficients, coefficient_size, opt); 30 | float elapsed = duration(system_clock::now() - start).count(); 31 | 32 | fflush(streamIn); 33 | fflush(streamOut); 34 | 35 | double mbps = opt.nframes * input_size / 1024. / 1024. / elapsed; 36 | printf("\n\nProcessed %2.2f MB in %3.3fs (%3.2f MBps)\n\n", 37 | input_size / 1024. /1024., elapsed, mbps); 38 | 39 | return EXIT_SUCCESS; 40 | } 41 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/cpu_src/types.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | struct RGBPixel 4 | { 5 | unsigned char r; 6 | unsigned char g; 7 | unsigned char b; 8 | unsigned char a; 9 | }; 10 | 11 | typedef unsigned char GrayPixel; 12 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/makefile/sdaccel.ini: -------------------------------------------------------------------------------- 1 | [Debug] 2 | profile=true 3 | timeline_trace=true 4 | data_transfer_trace=off 5 | stall_trace=off 6 | app_debug=false 7 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/reference-files/addi_k/constants.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define MAX_WIDTH 1280 4 | #define MAX_FILTER 19 5 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/reference-files/addi_k/grayscale_kernel.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "constants.h" 3 | #include "kernels.h" 4 | #include "types.h" 5 | 6 | extern "C" 7 | { 8 | 9 | void grayscale_cpu(const RGBPixel* inFrame, GrayPixel* outFrame, int img_height, int img_width) 10 | { 11 | for (int pixel = 0; pixel < img_height * img_width; ++pixel) 12 | { 13 | GrayPixel gray = (inFrame[pixel].r * 0.30) + //red 14 | (inFrame[pixel].g * 0.59) + // green 15 | (inFrame[pixel].b * 0.11); // blue 16 | outFrame[pixel] = gray; 17 | } 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/reference-files/addi_k/kernels.h: -------------------------------------------------------------------------------- 1 | 2 | #include "types.h" 3 | 4 | extern "C" { 5 | // Convolve RGB video frame with input filter 6 | void convolve_cpu(const RGBPixel* inFrame, RGBPixel* outFrame, const float* filter, int filter_size, int img_width, int img_height); 7 | // Convert RGB video frame to grayscale 8 | void grayscale_cpu(const RGBPixel* inFrame, GrayPixel* outFrame, int img_width, int img_height); 9 | 10 | // Convolve RGB video frame with input filter 11 | //void convolve_fpga(const RGBPixel* inFrame, RGBPixel* outFrame, const float* filter, int filter_size, int img_width, int img_height); 12 | void convolve_fpga(const RGBPixel* inFrame, RGBPixel* outFrame, const float* coefficient, int coefficient_size, int img_width, int img_height, 13 | int line_offset, int num_lines); 14 | // Convert RGB video frame to grayscale 15 | void grayscale_fpga(const RGBPixel* inFrame, GrayPixel* outFrame, int img_width, int img_height); 16 | } 17 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/reference-files/addi_k/main.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "common.h" 3 | #include "constants.h" 4 | #include "filters.h" 5 | 6 | #include 7 | #include 8 | #include 9 | #include 10 | 11 | using std::chrono::duration; 12 | using std::chrono::system_clock; 13 | using std::tie; 14 | 15 | int main(int argc, char* argv[]) { 16 | // Parse command line 17 | arguments opt = parse_args(argc, argv); 18 | int input_size = opt.width * opt.height * sizeof(RGBPixel); 19 | 20 | FILE *streamIn, *streamOut; 21 | tie(streamIn, streamOut) = get_streams(opt); 22 | 23 | float* coefficients = gaussian; 24 | int coefficient_size = 3; 25 | 26 | printf("Processing %d frames of %s ...\n", opt.nframes, opt.input_file); 27 | 28 | auto start = system_clock::now(); 29 | convolve(streamIn, streamOut, coefficients, coefficient_size, opt); 30 | float elapsed = duration(system_clock::now() - start).count(); 31 | 32 | fflush(streamIn); 33 | fflush(streamOut); 34 | 35 | double mbps = opt.nframes * input_size / 1024. / 1024. / elapsed; 36 | printf("\n\nProcessed %2.2f MB in %3.3fs (%3.2f MBps)\n\n", 37 | input_size / 1024. /1024., elapsed, mbps); 38 | 39 | return EXIT_SUCCESS; 40 | } 41 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/reference-files/addi_k/types.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | struct RGBPixel 4 | { 5 | unsigned char r; 6 | unsigned char g; 7 | unsigned char b; 8 | unsigned char a; 9 | }; 10 | 11 | typedef unsigned char GrayPixel; 12 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/reference-files/baseline/constants.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define MAX_WIDTH 1920 4 | #define MAX_FILTER 19 5 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/reference-files/baseline/grayscale_kernel.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "constants.h" 3 | #include "kernels.h" 4 | #include "types.h" 5 | 6 | extern "C" 7 | { 8 | 9 | void grayscale_cpu(const RGBPixel* inFrame, GrayPixel* outFrame, int img_height, int img_width) 10 | { 11 | for (int pixel = 0; pixel < img_height * img_width; ++pixel) 12 | { 13 | GrayPixel gray = (inFrame[pixel].r * 0.30) + //red 14 | (inFrame[pixel].g * 0.59) + // green 15 | (inFrame[pixel].b * 0.11); // blue 16 | outFrame[pixel] = gray; 17 | } 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/reference-files/baseline/kernels.h: -------------------------------------------------------------------------------- 1 | 2 | #include "types.h" 3 | 4 | extern "C" { 5 | // Convolve RGB video frame with input filter 6 | void convolve_cpu(const RGBPixel* inFrame, RGBPixel* outFrame, const float* filter, int filter_size, int img_width, int img_height); 7 | // Convert RGB video frame to grayscale 8 | void grayscale_cpu(const RGBPixel* inFrame, GrayPixel* outFrame, int img_width, int img_height); 9 | 10 | // Convolve RGB video frame with input filter 11 | void convolve_fpga(const RGBPixel* inFrame, RGBPixel* outFrame, const float* filter, int filter_size, int img_width, int img_height); 12 | // Convert RGB video frame to grayscale 13 | void grayscale_fpga(const RGBPixel* inFrame, GrayPixel* outFrame, int img_width, int img_height); 14 | } 15 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/reference-files/baseline/main.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "common.h" 3 | #include "constants.h" 4 | #include "filters.h" 5 | 6 | #include 7 | #include 8 | #include 9 | #include 10 | 11 | using std::chrono::duration; 12 | using std::chrono::system_clock; 13 | using std::tie; 14 | 15 | int main(int argc, char* argv[]) { 16 | // Parse command line 17 | arguments opt = parse_args(argc, argv); 18 | int input_size = opt.width * opt.height * sizeof(RGBPixel); 19 | 20 | FILE *streamIn, *streamOut; 21 | tie(streamIn, streamOut) = get_streams(opt); 22 | 23 | float* coefficients = gaussian; 24 | int coefficient_size = 3; 25 | 26 | printf("Processing %d frames of %s ...\n", opt.nframes, opt.input_file); 27 | 28 | auto start = system_clock::now(); 29 | convolve(streamIn, streamOut, coefficients, coefficient_size, opt); 30 | float elapsed = duration(system_clock::now() - start).count(); 31 | 32 | fflush(streamIn); 33 | fflush(streamOut); 34 | 35 | double mbps = opt.nframes * input_size / 1024. / 1024. / elapsed; 36 | printf("\n\nProcessed %2.2f MB in %3.3fs (%3.2f MBps)\n\n", 37 | input_size / 1024. /1024., elapsed, mbps); 38 | 39 | return EXIT_SUCCESS; 40 | } 41 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/reference-files/baseline/types.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | struct RGBPixel 4 | { 5 | unsigned char r; 6 | unsigned char g; 7 | unsigned char b; 8 | unsigned char a; 9 | }; 10 | 11 | typedef unsigned char GrayPixel; 12 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/reference-files/dataflow/constants.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define MAX_WIDTH 1920 4 | #define MAX_FILTER 19 5 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/reference-files/dataflow/grayscale_kernel.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "constants.h" 3 | #include "kernels.h" 4 | #include "types.h" 5 | 6 | extern "C" 7 | { 8 | 9 | void grayscale_cpu(const RGBPixel* inFrame, GrayPixel* outFrame, int img_height, int img_width) 10 | { 11 | for (int pixel = 0; pixel < img_height * img_width; ++pixel) 12 | { 13 | GrayPixel gray = (inFrame[pixel].r * 0.30) + //red 14 | (inFrame[pixel].g * 0.59) + // green 15 | (inFrame[pixel].b * 0.11); // blue 16 | outFrame[pixel] = gray; 17 | } 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/reference-files/dataflow/kernels.h: -------------------------------------------------------------------------------- 1 | 2 | #include "types.h" 3 | 4 | extern "C" { 5 | // Convolve RGB video frame with input filter 6 | void convolve_cpu(const RGBPixel* inFrame, RGBPixel* outFrame, const float* filter, int filter_size, int img_width, int img_height); 7 | // Convert RGB video frame to grayscale 8 | void grayscale_cpu(const RGBPixel* inFrame, GrayPixel* outFrame, int img_width, int img_height); 9 | 10 | // Convolve RGB video frame with input filter 11 | //void convolve_fpga(const RGBPixel* inFrame, RGBPixel* outFrame, const float* filter, int filter_size, int img_width, int img_height); 12 | void convolve_fpga(const RGBPixel* inFrame, RGBPixel* outFrame, const float* coefficient, int coefficient_size, int img_width, int img_height); 13 | // Convert RGB video frame to grayscale 14 | void grayscale_fpga(const RGBPixel* inFrame, GrayPixel* outFrame, int img_width, int img_height); 15 | } 16 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/reference-files/dataflow/main.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "common.h" 3 | #include "constants.h" 4 | #include "filters.h" 5 | 6 | #include 7 | #include 8 | #include 9 | #include 10 | 11 | using std::chrono::duration; 12 | using std::chrono::system_clock; 13 | using std::tie; 14 | 15 | int main(int argc, char* argv[]) { 16 | // Parse command line 17 | arguments opt = parse_args(argc, argv); 18 | int input_size = opt.width * opt.height * sizeof(RGBPixel); 19 | 20 | FILE *streamIn, *streamOut; 21 | tie(streamIn, streamOut) = get_streams(opt); 22 | 23 | float* coefficients = gaussian; 24 | int coefficient_size = 3; 25 | 26 | printf("Processing %d frames of %s ...\n", opt.nframes, opt.input_file); 27 | 28 | auto start = system_clock::now(); 29 | convolve(streamIn, streamOut, coefficients, coefficient_size, opt); 30 | float elapsed = duration(system_clock::now() - start).count(); 31 | 32 | fflush(streamIn); 33 | fflush(streamOut); 34 | 35 | double mbps = opt.nframes * input_size / 1024. / 1024. / elapsed; 36 | printf("\n\nProcessed %2.2f MB in %3.3fs (%3.2f MBps)\n\n", 37 | input_size / 1024. /1024., elapsed, mbps); 38 | 39 | return EXIT_SUCCESS; 40 | } 41 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/reference-files/dataflow/types.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | struct RGBPixel 4 | { 5 | unsigned char r; 6 | unsigned char g; 7 | unsigned char b; 8 | unsigned char a; 9 | }; 10 | 11 | typedef unsigned char GrayPixel; 12 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/reference-files/fixedpoint/constants.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define MAX_WIDTH 1920 4 | #define MAX_FILTER 19 5 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/reference-files/fixedpoint/grayscale_kernel.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "constants.h" 3 | #include "kernels.h" 4 | #include "types.h" 5 | 6 | extern "C" 7 | { 8 | 9 | void grayscale_cpu(const RGBPixel* inFrame, GrayPixel* outFrame, int img_height, int img_width) 10 | { 11 | for (int pixel = 0; pixel < img_height * img_width; ++pixel) 12 | { 13 | GrayPixel gray = (inFrame[pixel].r * 0.30) + //red 14 | (inFrame[pixel].g * 0.59) + // green 15 | (inFrame[pixel].b * 0.11); // blue 16 | outFrame[pixel] = gray; 17 | } 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/reference-files/fixedpoint/kernels.h: -------------------------------------------------------------------------------- 1 | 2 | #include "types.h" 3 | 4 | extern "C" { 5 | // Convolve RGB video frame with input filter 6 | void convolve_cpu(const RGBPixel* inFrame, RGBPixel* outFrame, const float* filter, int filter_size, int img_width, int img_height); 7 | // Convert RGB video frame to grayscale 8 | void grayscale_cpu(const RGBPixel* inFrame, GrayPixel* outFrame, int img_width, int img_height); 9 | 10 | // Convolve RGB video frame with input filter 11 | // void convolve_fpga(const RGBPixel* inFrame, RGBPixel* outFrame, const float* filter, int filter_size, int img_width, int img_height); 12 | void convolve_fpga(const RGBPixel* inFrame, RGBPixel* outFrame, const float* coefficient, int coefficient_size, int img_width, int img_height); 13 | // Convert RGB video frame to grayscale 14 | void grayscale_fpga(const RGBPixel* inFrame, GrayPixel* outFrame, int img_width, int img_height); 15 | } 16 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/reference-files/fixedpoint/main.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "common.h" 3 | #include "constants.h" 4 | #include "filters.h" 5 | 6 | #include 7 | #include 8 | #include 9 | #include 10 | 11 | using std::chrono::duration; 12 | using std::chrono::system_clock; 13 | using std::tie; 14 | 15 | int main(int argc, char* argv[]) { 16 | // Parse command line 17 | arguments opt = parse_args(argc, argv); 18 | int input_size = opt.width * opt.height * sizeof(RGBPixel); 19 | 20 | FILE *streamIn, *streamOut; 21 | tie(streamIn, streamOut) = get_streams(opt); 22 | 23 | float* coefficients = gaussian; 24 | int coefficient_size = 3; 25 | 26 | printf("Processing %d frames of %s ...\n", opt.nframes, opt.input_file); 27 | 28 | auto start = system_clock::now(); 29 | convolve(streamIn, streamOut, coefficients, coefficient_size, opt); 30 | float elapsed = duration(system_clock::now() - start).count(); 31 | 32 | fflush(streamIn); 33 | fflush(streamOut); 34 | 35 | double mbps = opt.nframes * input_size / 1024. / 1024. / elapsed; 36 | printf("\n\nProcessed %2.2f MB in %3.3fs (%3.2f MBps)\n\n", 37 | input_size / 1024. /1024., elapsed, mbps); 38 | 39 | return EXIT_SUCCESS; 40 | } 41 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/reference-files/fixedpoint/types.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | struct RGBPixel 4 | { 5 | unsigned char r; 6 | unsigned char g; 7 | unsigned char b; 8 | unsigned char a; 9 | }; 10 | 11 | typedef unsigned char GrayPixel; 12 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/reference-files/localbuf/constants.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define MAX_WIDTH 1920 4 | #define MAX_FILTER 19 5 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/reference-files/localbuf/grayscale_kernel.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "constants.h" 3 | #include "kernels.h" 4 | #include "types.h" 5 | 6 | extern "C" 7 | { 8 | 9 | void grayscale_cpu(const RGBPixel* inFrame, GrayPixel* outFrame, int img_height, int img_width) 10 | { 11 | for (int pixel = 0; pixel < img_height * img_width; ++pixel) 12 | { 13 | GrayPixel gray = (inFrame[pixel].r * 0.30) + //red 14 | (inFrame[pixel].g * 0.59) + // green 15 | (inFrame[pixel].b * 0.11); // blue 16 | outFrame[pixel] = gray; 17 | } 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/reference-files/localbuf/kernels.h: -------------------------------------------------------------------------------- 1 | 2 | #include "types.h" 3 | 4 | extern "C" { 5 | // Convolve RGB video frame with input filter 6 | void convolve_cpu(const RGBPixel* inFrame, RGBPixel* outFrame, const float* filter, int filter_size, int img_width, int img_height); 7 | // Convert RGB video frame to grayscale 8 | void grayscale_cpu(const RGBPixel* inFrame, GrayPixel* outFrame, int img_width, int img_height); 9 | 10 | // Convolve RGB video frame with input filter 11 | // void convolve_fpga(const RGBPixel* inFrame, RGBPixel* outFrame, const float* filter, int filter_size, int img_width, int img_height); 12 | void convolve_fpga(const RGBPixel* inFrame, RGBPixel* outFrame, const float* coefficient, int coefficient_size, int img_width, int img_height); 13 | // Convert RGB video frame to grayscale 14 | void grayscale_fpga(const RGBPixel* inFrame, GrayPixel* outFrame, int img_width, int img_height); 15 | } 16 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/reference-files/localbuf/main.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "common.h" 3 | #include "constants.h" 4 | #include "filters.h" 5 | 6 | #include 7 | #include 8 | #include 9 | #include 10 | 11 | using std::chrono::duration; 12 | using std::chrono::system_clock; 13 | using std::tie; 14 | 15 | int main(int argc, char* argv[]) { 16 | // Parse command line 17 | arguments opt = parse_args(argc, argv); 18 | int input_size = opt.width * opt.height * sizeof(RGBPixel); 19 | 20 | FILE *streamIn, *streamOut; 21 | tie(streamIn, streamOut) = get_streams(opt); 22 | 23 | float* coefficients = gaussian; 24 | int coefficient_size = 3; 25 | 26 | printf("Processing %d frames of %s ...\n", opt.nframes, opt.input_file); 27 | 28 | auto start = system_clock::now(); 29 | convolve(streamIn, streamOut, coefficients, coefficient_size, opt); 30 | float elapsed = duration(system_clock::now() - start).count(); 31 | 32 | fflush(streamIn); 33 | fflush(streamOut); 34 | 35 | double mbps = opt.nframes * input_size / 1024. / 1024. / elapsed; 36 | printf("\n\nProcessed %2.2f MB in %3.3fs (%3.2f MBps)\n\n", 37 | input_size / 1024. /1024., elapsed, mbps); 38 | 39 | return EXIT_SUCCESS; 40 | } 41 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/reference-files/localbuf/types.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | struct RGBPixel 4 | { 5 | unsigned char r; 6 | unsigned char g; 7 | unsigned char b; 8 | unsigned char a; 9 | }; 10 | 11 | typedef unsigned char GrayPixel; 12 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/reference-files/multicu/constants.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define MAX_WIDTH 1920 4 | #define MAX_FILTER 19 5 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/reference-files/multicu/grayscale_kernel.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "constants.h" 3 | #include "kernels.h" 4 | #include "types.h" 5 | 6 | extern "C" 7 | { 8 | 9 | void grayscale_cpu(const RGBPixel* inFrame, GrayPixel* outFrame, int img_height, int img_width) 10 | { 11 | for (int pixel = 0; pixel < img_height * img_width; ++pixel) 12 | { 13 | GrayPixel gray = (inFrame[pixel].r * 0.30) + //red 14 | (inFrame[pixel].g * 0.59) + // green 15 | (inFrame[pixel].b * 0.11); // blue 16 | outFrame[pixel] = gray; 17 | } 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/reference-files/multicu/kernels.h: -------------------------------------------------------------------------------- 1 | 2 | #include "types.h" 3 | 4 | extern "C" { 5 | // Convolve RGB video frame with input filter 6 | void convolve_cpu(const RGBPixel* inFrame, RGBPixel* outFrame, const float* filter, int filter_size, int img_width, int img_height); 7 | // Convert RGB video frame to grayscale 8 | void grayscale_cpu(const RGBPixel* inFrame, GrayPixel* outFrame, int img_width, int img_height); 9 | 10 | // Convolve RGB video frame with input filter 11 | #ifdef HOST_CODE_OPT 12 | void convolve_fpga(const RGBPixel* inFrame, RGBPixel* outFrame, const float* coefficient, int coefficient_size, int img_width, int img_height, 13 | int line_offset, int num_lines); 14 | #else 15 | void convolve_fpga(const RGBPixel* inFrame, RGBPixel* outFrame, const float* filter, int filter_size, int img_width, int img_height); 16 | #endif 17 | // Convert RGB video frame to grayscale 18 | void grayscale_fpga(const RGBPixel* inFrame, GrayPixel* outFrame, int img_width, int img_height); 19 | } 20 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/reference-files/multicu/main.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "common.h" 3 | #include "constants.h" 4 | #include "filters.h" 5 | 6 | #include 7 | #include 8 | #include 9 | #include 10 | 11 | using std::chrono::duration; 12 | using std::chrono::system_clock; 13 | using std::tie; 14 | 15 | int main(int argc, char* argv[]) { 16 | // Parse command line 17 | arguments opt = parse_args(argc, argv); 18 | int input_size = opt.width * opt.height * sizeof(RGBPixel); 19 | 20 | FILE *streamIn, *streamOut; 21 | tie(streamIn, streamOut) = get_streams(opt); 22 | 23 | float* coefficients = gaussian; 24 | int coefficient_size = 3; 25 | 26 | printf("Processing %d frames of %s ...\n", opt.nframes, opt.input_file); 27 | 28 | auto start = system_clock::now(); 29 | convolve(streamIn, streamOut, coefficients, coefficient_size, opt); 30 | float elapsed = duration(system_clock::now() - start).count(); 31 | 32 | fflush(streamIn); 33 | fflush(streamOut); 34 | 35 | double mbps = opt.nframes * input_size / 1024. / 1024. / elapsed; 36 | printf("\n\nProcessed %2.2f MB in %3.3fs (%3.2f MBps)\n\n", 37 | input_size / 1024. /1024., elapsed, mbps); 38 | 39 | return EXIT_SUCCESS; 40 | } 41 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/reference-files/multicu/types.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | struct RGBPixel 4 | { 5 | unsigned char r; 6 | unsigned char g; 7 | unsigned char b; 8 | unsigned char a; 9 | }; 10 | 11 | typedef unsigned char GrayPixel; 12 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/src/addi_k/constants.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define MAX_WIDTH 1920 4 | #define MAX_FILTER 19 5 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/src/addi_k/grayscale_kernel.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "constants.h" 3 | #include "kernels.h" 4 | #include "types.h" 5 | 6 | extern "C" 7 | { 8 | 9 | void grayscale_cpu(const RGBPixel* inFrame, GrayPixel* outFrame, int img_height, int img_width) 10 | { 11 | for (int pixel = 0; pixel < img_height * img_width; ++pixel) 12 | { 13 | GrayPixel gray = (inFrame[pixel].r * 0.30) + //red 14 | (inFrame[pixel].g * 0.59) + // green 15 | (inFrame[pixel].b * 0.11); // blue 16 | outFrame[pixel] = gray; 17 | } 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/src/addi_k/kernels.h: -------------------------------------------------------------------------------- 1 | 2 | #include "types.h" 3 | 4 | extern "C" { 5 | // Convolve RGB video frame with input filter 6 | void convolve_cpu(const RGBPixel* inFrame, RGBPixel* outFrame, const float* filter, int filter_size, int img_width, int img_height); 7 | // Convert RGB video frame to grayscale 8 | void grayscale_cpu(const RGBPixel* inFrame, GrayPixel* outFrame, int img_width, int img_height); 9 | 10 | // Convolve RGB video frame with input filter 11 | #ifdef HOST_CODE_OPT 12 | void convolve_fpga(const RGBPixel* inFrame, RGBPixel* outFrame, const float* coefficient, int coefficient_size, int img_width, int img_height, 13 | int line_offset, int num_lines); 14 | #else 15 | void convolve_fpga(const RGBPixel* inFrame, RGBPixel* outFrame, const float* filter, int filter_size, int img_width, int img_height); 16 | #endif 17 | // Convert RGB video frame to grayscale 18 | void grayscale_fpga(const RGBPixel* inFrame, GrayPixel* outFrame, int img_width, int img_height); 19 | } 20 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/src/addi_k/main.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "common.h" 3 | #include "constants.h" 4 | #include "filters.h" 5 | 6 | #include 7 | #include 8 | #include 9 | #include 10 | 11 | using std::chrono::duration; 12 | using std::chrono::system_clock; 13 | using std::tie; 14 | 15 | int main(int argc, char* argv[]) { 16 | // Parse command line 17 | arguments opt = parse_args(argc, argv); 18 | int input_size = opt.width * opt.height * sizeof(RGBPixel); 19 | 20 | FILE *streamIn, *streamOut; 21 | tie(streamIn, streamOut) = get_streams(opt); 22 | 23 | float* coefficients = gaussian; 24 | int coefficient_size = 3; 25 | 26 | printf("Processing %d frames of %s ...\n", opt.nframes, opt.input_file); 27 | 28 | auto start = system_clock::now(); 29 | convolve(streamIn, streamOut, coefficients, coefficient_size, opt); 30 | float elapsed = duration(system_clock::now() - start).count(); 31 | 32 | fflush(streamIn); 33 | fflush(streamOut); 34 | 35 | double mbps = opt.nframes * input_size / 1024. / 1024. / elapsed; 36 | printf("\n\nProcessed %2.2f MB in %3.3fs (%3.2f MBps)\n\n", 37 | input_size / 1024. /1024., elapsed, mbps); 38 | 39 | return EXIT_SUCCESS; 40 | } 41 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/src/addi_k/types.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | struct RGBPixel 4 | { 5 | unsigned char r; 6 | unsigned char g; 7 | unsigned char b; 8 | unsigned char a; 9 | }; 10 | 11 | typedef unsigned char GrayPixel; 12 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/src/baseline/constants.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define MAX_WIDTH 1920 4 | #define MAX_FILTER 19 5 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/src/baseline/grayscale_kernel.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "constants.h" 3 | #include "kernels.h" 4 | #include "types.h" 5 | 6 | extern "C" 7 | { 8 | 9 | void grayscale_cpu(const RGBPixel* inFrame, GrayPixel* outFrame, int img_height, int img_width) 10 | { 11 | for (int pixel = 0; pixel < img_height * img_width; ++pixel) 12 | { 13 | GrayPixel gray = (inFrame[pixel].r * 0.30) + //red 14 | (inFrame[pixel].g * 0.59) + // green 15 | (inFrame[pixel].b * 0.11); // blue 16 | outFrame[pixel] = gray; 17 | } 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/src/baseline/kernels.h: -------------------------------------------------------------------------------- 1 | 2 | #include "types.h" 3 | 4 | extern "C" { 5 | // Convolve RGB video frame with input filter 6 | void convolve_cpu(const RGBPixel* inFrame, RGBPixel* outFrame, const float* filter, int filter_size, int img_width, int img_height); 7 | // Convert RGB video frame to grayscale 8 | void grayscale_cpu(const RGBPixel* inFrame, GrayPixel* outFrame, int img_width, int img_height); 9 | 10 | // Convolve RGB video frame with input filter 11 | void convolve_fpga(const RGBPixel* inFrame, RGBPixel* outFrame, const float* filter, int filter_size, int img_width, int img_height); 12 | // Convert RGB video frame to grayscale 13 | void grayscale_fpga(const RGBPixel* inFrame, GrayPixel* outFrame, int img_width, int img_height); 14 | } 15 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/src/baseline/main.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "common.h" 3 | #include "constants.h" 4 | #include "filters.h" 5 | 6 | #include 7 | #include 8 | #include 9 | #include 10 | 11 | using std::chrono::duration; 12 | using std::chrono::system_clock; 13 | using std::tie; 14 | 15 | int main(int argc, char* argv[]) { 16 | // Parse command line 17 | arguments opt = parse_args(argc, argv); 18 | int input_size = opt.width * opt.height * sizeof(RGBPixel); 19 | 20 | FILE *streamIn, *streamOut; 21 | tie(streamIn, streamOut) = get_streams(opt); 22 | 23 | float* coefficients = gaussian; 24 | int coefficient_size = 3; 25 | 26 | printf("Processing %d frames of %s ...\n", opt.nframes, opt.input_file); 27 | 28 | auto start = system_clock::now(); 29 | convolve(streamIn, streamOut, coefficients, coefficient_size, opt); 30 | float elapsed = duration(system_clock::now() - start).count(); 31 | 32 | fflush(streamIn); 33 | fflush(streamOut); 34 | 35 | double mbps = opt.nframes * input_size / 1024. / 1024. / elapsed; 36 | printf("\n\nProcessed %2.2f MB in %3.3fs (%3.2f MBps)\n\n", 37 | input_size / 1024. /1024., elapsed, mbps); 38 | 39 | return EXIT_SUCCESS; 40 | } 41 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/src/baseline/types.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | struct RGBPixel 4 | { 5 | unsigned char r; 6 | unsigned char g; 7 | unsigned char b; 8 | unsigned char a; 9 | }; 10 | 11 | typedef unsigned char GrayPixel; 12 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/src/dataflow/constants.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define MAX_WIDTH 1920 4 | #define MAX_FILTER 19 5 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/src/dataflow/grayscale_kernel.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "constants.h" 3 | #include "kernels.h" 4 | #include "types.h" 5 | 6 | extern "C" 7 | { 8 | 9 | void grayscale_cpu(const RGBPixel* inFrame, GrayPixel* outFrame, int img_height, int img_width) 10 | { 11 | for (int pixel = 0; pixel < img_height * img_width; ++pixel) 12 | { 13 | GrayPixel gray = (inFrame[pixel].r * 0.30) + //red 14 | (inFrame[pixel].g * 0.59) + // green 15 | (inFrame[pixel].b * 0.11); // blue 16 | outFrame[pixel] = gray; 17 | } 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/src/dataflow/kernels.h: -------------------------------------------------------------------------------- 1 | 2 | #include "types.h" 3 | 4 | extern "C" { 5 | // Convolve RGB video frame with input filter 6 | void convolve_cpu(const RGBPixel* inFrame, RGBPixel* outFrame, const float* filter, int filter_size, int img_width, int img_height); 7 | // Convert RGB video frame to grayscale 8 | void grayscale_cpu(const RGBPixel* inFrame, GrayPixel* outFrame, int img_width, int img_height); 9 | 10 | // Convolve RGB video frame with input filter 11 | // void convolve_fpga(const RGBPixel* inFrame, RGBPixel* outFrame, const float* filter, int filter_size, int img_width, int img_height); 12 | void convolve_fpga(const RGBPixel* inFrame, RGBPixel* outFrame, const float* coefficient, int coefficient_size, int img_width, int img_height); 13 | // Convert RGB video frame to grayscale 14 | void grayscale_fpga(const RGBPixel* inFrame, GrayPixel* outFrame, int img_width, int img_height); 15 | } 16 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/src/dataflow/main.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "common.h" 3 | #include "constants.h" 4 | #include "filters.h" 5 | 6 | #include 7 | #include 8 | #include 9 | #include 10 | 11 | using std::chrono::duration; 12 | using std::chrono::system_clock; 13 | using std::tie; 14 | 15 | int main(int argc, char* argv[]) { 16 | // Parse command line 17 | arguments opt = parse_args(argc, argv); 18 | int input_size = opt.width * opt.height * sizeof(RGBPixel); 19 | 20 | FILE *streamIn, *streamOut; 21 | tie(streamIn, streamOut) = get_streams(opt); 22 | 23 | float* coefficients = gaussian; 24 | int coefficient_size = 3; 25 | 26 | printf("Processing %d frames of %s ...\n", opt.nframes, opt.input_file); 27 | 28 | auto start = system_clock::now(); 29 | convolve(streamIn, streamOut, coefficients, coefficient_size, opt); 30 | float elapsed = duration(system_clock::now() - start).count(); 31 | 32 | fflush(streamIn); 33 | fflush(streamOut); 34 | 35 | double mbps = opt.nframes * input_size / 1024. / 1024. / elapsed; 36 | printf("\n\nProcessed %2.2f MB in %3.3fs (%3.2f MBps)\n\n", 37 | input_size / 1024. /1024., elapsed, mbps); 38 | 39 | return EXIT_SUCCESS; 40 | } 41 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/src/dataflow/types.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | struct RGBPixel 4 | { 5 | unsigned char r; 6 | unsigned char g; 7 | unsigned char b; 8 | unsigned char a; 9 | }; 10 | 11 | typedef unsigned char GrayPixel; 12 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/src/fixedpoint/constants.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define MAX_WIDTH 1920 4 | #define MAX_FILTER 19 5 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/src/fixedpoint/grayscale_kernel.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "constants.h" 3 | #include "kernels.h" 4 | #include "types.h" 5 | 6 | extern "C" 7 | { 8 | 9 | void grayscale_cpu(const RGBPixel* inFrame, GrayPixel* outFrame, int img_height, int img_width) 10 | { 11 | for (int pixel = 0; pixel < img_height * img_width; ++pixel) 12 | { 13 | GrayPixel gray = (inFrame[pixel].r * 0.30) + //red 14 | (inFrame[pixel].g * 0.59) + // green 15 | (inFrame[pixel].b * 0.11); // blue 16 | outFrame[pixel] = gray; 17 | } 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/src/fixedpoint/kernels.h: -------------------------------------------------------------------------------- 1 | 2 | #include "types.h" 3 | 4 | extern "C" { 5 | // Convolve RGB video frame with input filter 6 | void convolve_cpu(const RGBPixel* inFrame, RGBPixel* outFrame, const float* filter, int filter_size, int img_width, int img_height); 7 | // Convert RGB video frame to grayscale 8 | void grayscale_cpu(const RGBPixel* inFrame, GrayPixel* outFrame, int img_width, int img_height); 9 | 10 | // Convolve RGB video frame with input filter 11 | // void convolve_fpga(const RGBPixel* inFrame, RGBPixel* outFrame, const float* filter, int filter_size, int img_width, int img_height); 12 | void convolve_fpga(const RGBPixel* inFrame, RGBPixel* outFrame, const float* coefficient, int coefficient_size, int img_width, int img_height); 13 | // Convert RGB video frame to grayscale 14 | void grayscale_fpga(const RGBPixel* inFrame, GrayPixel* outFrame, int img_width, int img_height); 15 | } 16 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/src/fixedpoint/main.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "common.h" 3 | #include "constants.h" 4 | #include "filters.h" 5 | 6 | #include 7 | #include 8 | #include 9 | #include 10 | 11 | using std::chrono::duration; 12 | using std::chrono::system_clock; 13 | using std::tie; 14 | 15 | int main(int argc, char* argv[]) { 16 | // Parse command line 17 | arguments opt = parse_args(argc, argv); 18 | int input_size = opt.width * opt.height * sizeof(RGBPixel); 19 | 20 | FILE *streamIn, *streamOut; 21 | tie(streamIn, streamOut) = get_streams(opt); 22 | 23 | float* coefficients = gaussian; 24 | int coefficient_size = 3; 25 | 26 | printf("Processing %d frames of %s ...\n", opt.nframes, opt.input_file); 27 | 28 | auto start = system_clock::now(); 29 | convolve(streamIn, streamOut, coefficients, coefficient_size, opt); 30 | float elapsed = duration(system_clock::now() - start).count(); 31 | 32 | fflush(streamIn); 33 | fflush(streamOut); 34 | 35 | double mbps = opt.nframes * input_size / 1024. / 1024. / elapsed; 36 | printf("\n\nProcessed %2.2f MB in %3.3fs (%3.2f MBps)\n\n", 37 | input_size / 1024. /1024., elapsed, mbps); 38 | 39 | return EXIT_SUCCESS; 40 | } 41 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/src/fixedpoint/types.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | struct RGBPixel 4 | { 5 | unsigned char r; 6 | unsigned char g; 7 | unsigned char b; 8 | unsigned char a; 9 | }; 10 | 11 | typedef unsigned char GrayPixel; 12 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/src/localbuf/constants.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define MAX_WIDTH 1920 4 | #define MAX_FILTER 19 5 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/src/localbuf/grayscale_kernel.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "constants.h" 3 | #include "kernels.h" 4 | #include "types.h" 5 | 6 | extern "C" 7 | { 8 | 9 | void grayscale_cpu(const RGBPixel* inFrame, GrayPixel* outFrame, int img_height, int img_width) 10 | { 11 | for (int pixel = 0; pixel < img_height * img_width; ++pixel) 12 | { 13 | GrayPixel gray = (inFrame[pixel].r * 0.30) + //red 14 | (inFrame[pixel].g * 0.59) + // green 15 | (inFrame[pixel].b * 0.11); // blue 16 | outFrame[pixel] = gray; 17 | } 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/src/localbuf/kernels.h: -------------------------------------------------------------------------------- 1 | 2 | #include "types.h" 3 | 4 | extern "C" { 5 | // Convolve RGB video frame with input filter 6 | void convolve_cpu(const RGBPixel* inFrame, RGBPixel* outFrame, const float* filter, int filter_size, int img_width, int img_height); 7 | // Convert RGB video frame to grayscale 8 | void grayscale_cpu(const RGBPixel* inFrame, GrayPixel* outFrame, int img_width, int img_height); 9 | 10 | // Convolve RGB video frame with input filter 11 | void convolve_fpga(const RGBPixel* inFrame, RGBPixel* outFrame, const float* filter, int filter_size, int img_width, int img_height); 12 | // Convert RGB video frame to grayscale 13 | void grayscale_fpga(const RGBPixel* inFrame, GrayPixel* outFrame, int img_width, int img_height); 14 | } 15 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/src/localbuf/main.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "common.h" 3 | #include "constants.h" 4 | #include "filters.h" 5 | 6 | #include 7 | #include 8 | #include 9 | #include 10 | 11 | using std::chrono::duration; 12 | using std::chrono::system_clock; 13 | using std::tie; 14 | 15 | int main(int argc, char* argv[]) { 16 | // Parse command line 17 | arguments opt = parse_args(argc, argv); 18 | int input_size = opt.width * opt.height * sizeof(RGBPixel); 19 | 20 | FILE *streamIn, *streamOut; 21 | tie(streamIn, streamOut) = get_streams(opt); 22 | 23 | float* coefficients = gaussian; 24 | int coefficient_size = 3; 25 | 26 | printf("Processing %d frames of %s ...\n", opt.nframes, opt.input_file); 27 | 28 | auto start = system_clock::now(); 29 | convolve(streamIn, streamOut, coefficients, coefficient_size, opt); 30 | float elapsed = duration(system_clock::now() - start).count(); 31 | 32 | fflush(streamIn); 33 | fflush(streamOut); 34 | 35 | double mbps = opt.nframes * input_size / 1024. / 1024. / elapsed; 36 | printf("\n\nProcessed %2.2f MB in %3.3fs (%3.2f MBps)\n\n", 37 | input_size / 1024. /1024., elapsed, mbps); 38 | 39 | return EXIT_SUCCESS; 40 | } 41 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/src/localbuf/types.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | struct RGBPixel 4 | { 5 | unsigned char r; 6 | unsigned char g; 7 | unsigned char b; 8 | unsigned char a; 9 | }; 10 | 11 | typedef unsigned char GrayPixel; 12 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/src/multicu/constants.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define MAX_WIDTH 1920 4 | #define MAX_FILTER 19 5 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/src/multicu/grayscale_kernel.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "constants.h" 3 | #include "kernels.h" 4 | #include "types.h" 5 | 6 | extern "C" 7 | { 8 | 9 | void grayscale_cpu(const RGBPixel* inFrame, GrayPixel* outFrame, int img_height, int img_width) 10 | { 11 | for (int pixel = 0; pixel < img_height * img_width; ++pixel) 12 | { 13 | GrayPixel gray = (inFrame[pixel].r * 0.30) + //red 14 | (inFrame[pixel].g * 0.59) + // green 15 | (inFrame[pixel].b * 0.11); // blue 16 | outFrame[pixel] = gray; 17 | } 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/src/multicu/kernels.h: -------------------------------------------------------------------------------- 1 | 2 | #include "types.h" 3 | 4 | extern "C" { 5 | // Convolve RGB video frame with input filter 6 | void convolve_cpu(const RGBPixel* inFrame, RGBPixel* outFrame, const float* filter, int filter_size, int img_width, int img_height); 7 | // Convert RGB video frame to grayscale 8 | void grayscale_cpu(const RGBPixel* inFrame, GrayPixel* outFrame, int img_width, int img_height); 9 | 10 | // Convolve RGB video frame with input filter 11 | //void convolve_fpga(const RGBPixel* inFrame, RGBPixel* outFrame, const float* filter, int filter_size, int img_width, int img_height); 12 | void convolve_fpga(const RGBPixel* inFrame, RGBPixel* outFrame, const float* coefficient, int coefficient_size, int img_width, int img_height); 13 | // Convert RGB video frame to grayscale 14 | void grayscale_fpga(const RGBPixel* inFrame, GrayPixel* outFrame, int img_width, int img_height); 15 | } 16 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/src/multicu/main.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "common.h" 3 | #include "constants.h" 4 | #include "filters.h" 5 | 6 | #include 7 | #include 8 | #include 9 | #include 10 | 11 | using std::chrono::duration; 12 | using std::chrono::system_clock; 13 | using std::tie; 14 | 15 | int main(int argc, char* argv[]) { 16 | // Parse command line 17 | arguments opt = parse_args(argc, argv); 18 | int input_size = opt.width * opt.height * sizeof(RGBPixel); 19 | 20 | FILE *streamIn, *streamOut; 21 | tie(streamIn, streamOut) = get_streams(opt); 22 | 23 | float* coefficients = gaussian; 24 | int coefficient_size = 3; 25 | 26 | printf("Processing %d frames of %s ...\n", opt.nframes, opt.input_file); 27 | 28 | auto start = system_clock::now(); 29 | convolve(streamIn, streamOut, coefficients, coefficient_size, opt); 30 | float elapsed = duration(system_clock::now() - start).count(); 31 | 32 | fflush(streamIn); 33 | fflush(streamOut); 34 | 35 | double mbps = opt.nframes * input_size / 1024. / 1024. / elapsed; 36 | printf("\n\nProcessed %2.2f MB in %3.3fs (%3.2f MBps)\n\n", 37 | input_size / 1024. /1024., elapsed, mbps); 38 | 39 | return EXIT_SUCCESS; 40 | } 41 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/src/multicu/types.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | struct RGBPixel 4 | { 5 | unsigned char r; 6 | unsigned char g; 7 | unsigned char b; 8 | unsigned char a; 9 | }; 10 | 11 | typedef unsigned char GrayPixel; 12 | -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/video.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/modules/module_03/design/video.mp4 -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/xclbin/baseline/fpga_container_hw.awsxclbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/modules/module_03/design/xclbin/baseline/fpga_container_hw.awsxclbin -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/xclbin/dataflow/fpga_container_hw.awsxclbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/modules/module_03/design/xclbin/dataflow/fpga_container_hw.awsxclbin -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/xclbin/fixedpoint/fpga_container_hw.awsxclbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/modules/module_03/design/xclbin/fixedpoint/fpga_container_hw.awsxclbin -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/xclbin/localbuf/fpga_container_hw.awsxclbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/modules/module_03/design/xclbin/localbuf/fpga_container_hw.awsxclbin -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/design/xclbin/multicu/fpga_container_hw.awsxclbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/modules/module_03/design/xclbin/multicu/fpga_container_hw.awsxclbin -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/images/4_function_pipelining.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/modules/module_03/images/4_function_pipelining.png -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/images/baseline_hw_timeline_aws.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/modules/module_03/images/baseline_hw_timeline_aws.JPG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/images/baseline_hwemu_pfsummary_aws.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/modules/module_03/images/baseline_hwemu_pfsummary_aws.JPG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/images/convolve_fpga_local.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/modules/module_03/images/convolve_fpga_local.png -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/images/convolve_variables.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/modules/module_03/images/convolve_variables.png -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/images/dataflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/modules/module_03/images/dataflow.png -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/images/dataflow_hw_timeline_aws.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/modules/module_03/images/dataflow_hw_timeline_aws.JPG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/images/dataflow_hwemu_pfsummary_aws.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/modules/module_03/images/dataflow_hwemu_pfsummary_aws.JPG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/images/ffmpeg_usage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/modules/module_03/images/ffmpeg_usage.png -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/images/fixedtype_hw_timeline_aws.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/modules/module_03/images/fixedtype_hw_timeline_aws.JPG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/images/fixedtype_hwemu_pfsummary_aws.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/modules/module_03/images/fixedtype_hwemu_pfsummary_aws.JPG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/images/localbuf_hw_timeline_aws.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/modules/module_03/images/localbuf_hw_timeline_aws.JPG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/images/localbuf_hwemu_pfsummary_aws.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/modules/module_03/images/localbuf_hwemu_pfsummary_aws.JPG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/images/multicu_hw_timeline_aws.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/modules/module_03/images/multicu_hw_timeline_aws.JPG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/images/multicu_hwemu_pfsummary_aws.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-fpga-app-notes/9b6ae05123fc1f5bf00c495c04fafdf889479603/reInvent19_Developer_Workshop/modules/module_03/images/multicu_hwemu_pfsummary_aws.JPG -------------------------------------------------------------------------------- /reInvent19_Developer_Workshop/modules/module_03/images/readme.txt: -------------------------------------------------------------------------------- 1 | 2 | --------------------------------------------------------------------------------