I found a sample about how to run a HLSL code with DirectCompute.
This is the HLSL script I want to run
It doesn't seem the same as the BasicCompute sample. First, the main function's name is called "main" instead of "CSMain". Second, it uses data types like float2, float3 and float4 while BasicCompute uses standard data types. So, is it the same or something else?
Will DirectCompute run this script or it has to be done through other means?